properly cleanup sidebar content after closing tab

This commit is contained in:
zadam
2019-12-23 21:46:37 +01:00
parent ea7257a5b2
commit d389100611
4 changed files with 14 additions and 3 deletions

View File

@@ -438,6 +438,10 @@ class TabContext {
await this.saveNoteIfChanged();
this.$tabContent.remove();
}
if (this.sidebar) {
this.sidebar.remove();
}
}
cleanup() {