From 5b35948c8119a07e7f5c0c17480f3ebdd08ce86d Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Sun, 4 Mar 2018 15:02:06 +0100
Subject: [PATCH] Bugfix of error causing errors (lol)

---
 res/js/component/app.js  | 1 +
 res/js/component/app.jsx | 1 +
 2 files changed, 2 insertions(+)

diff --git a/res/js/component/app.js b/res/js/component/app.js
index 9f8a110..d45fb4b 100644
--- a/res/js/component/app.js
+++ b/res/js/component/app.js
@@ -63,6 +63,7 @@ class App {
             this.resultContainer.removeChild(buffer.elem);
         }
         if (this.error) {
+            this.error = null;
             this.resultContainer.removeChild(this.error.elem);
         }
     }
diff --git a/res/js/component/app.jsx b/res/js/component/app.jsx
index 65fde68..44dbf4d 100644
--- a/res/js/component/app.jsx
+++ b/res/js/component/app.jsx
@@ -70,6 +70,7 @@ class App {
         }
 
         if (this.error) {
+            this.error = null;
             this.resultContainer.removeChild(this.error.elem);
         }
     }
-- 
GitLab