diff options
Diffstat (limited to 'subprojects/frontend/src/editor/PanelStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/PanelStore.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/subprojects/frontend/src/editor/PanelStore.ts b/subprojects/frontend/src/editor/PanelStore.ts index 1af4ace1..e0e2b2f4 100644 --- a/subprojects/frontend/src/editor/PanelStore.ts +++ b/subprojects/frontend/src/editor/PanelStore.ts | |||
@@ -100,12 +100,6 @@ export default class PanelStore { | |||
100 | 100 | ||
101 | protected doClose(): void { | 101 | protected doClose(): void { |
102 | this.store.doCommand(this.closeCommand); | 102 | this.store.doCommand(this.closeCommand); |
103 | if (this.element === undefined) { | ||
104 | return; | ||
105 | } | ||
106 | if (this.store.view !== undefined) { | ||
107 | log.error('Failed to remove search panel from DOM'); | ||
108 | } | ||
109 | this.element = undefined; | 103 | this.element = undefined; |
110 | } | 104 | } |
111 | } | 105 | } |