From 4473168fe1c05a44856698b4709880f2145fda10 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 16 May 2019 15:08:18 +0200 Subject: [PATCH] fix removing el from plugin panel --- src/app/components/panel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/panel.js b/src/app/components/panel.js index 0df5a4184c..844d670b88 100644 --- a/src/app/components/panel.js +++ b/src/app/components/panel.js @@ -93,6 +93,7 @@ export class AbstractPanel { const el = this.contents[name] delete this.contents[name] if (el) el.parentElement.removeChild(el) + if (name === this.active) this.active = undefined } /**