From 1fcbff34bf1f5a39bd638d75fbf8990c08476def Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 4 Mar 2018 15:02:29 +0100 Subject: [PATCH] Bugfix of error causing errors (lol) --- res/js/component/app.js | 2 +- res/js/component/app.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/js/component/app.js b/res/js/component/app.js index d45fb4b..72d047a 100644 --- a/res/js/component/app.js +++ b/res/js/component/app.js @@ -63,8 +63,8 @@ class App { this.resultContainer.removeChild(buffer.elem); } if (this.error) { - this.error = null; this.resultContainer.removeChild(this.error.elem); + this.error = null; } } clearAll() { diff --git a/res/js/component/app.jsx b/res/js/component/app.jsx index 44dbf4d..589d049 100644 --- a/res/js/component/app.jsx +++ b/res/js/component/app.jsx @@ -70,8 +70,8 @@ class App { } if (this.error) { - this.error = null; this.resultContainer.removeChild(this.error.elem); + this.error = null; } } -- GitLab