mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
remove dangling autocompletes after closing the tab
This commit is contained in:
@@ -265,6 +265,9 @@ export default class TabManager extends Component {
|
||||
|
||||
this.children = this.children.filter(tc => tc.tabId !== tabId);
|
||||
|
||||
// remove dangling autocompletes after closing the tab
|
||||
$(".algolia-autocomplete").remove();
|
||||
|
||||
this.triggerEvent('tabRemoved', {tabId});
|
||||
|
||||
this.tabsUpdate.scheduleUpdate();
|
||||
|
||||
Reference in New Issue
Block a user