fixes & tweaks

This commit is contained in:
zadam
2019-08-28 21:15:16 +02:00
parent 650d9e0b27
commit f331172c7d
10 changed files with 90 additions and 58 deletions

View File

@@ -53,6 +53,10 @@ class Sidebar {
return;
}
for (const widget of this.widgets) {
widget.cleanup();
}
this.widgets = [];
this.$widgetContainer.empty();