Fix context pane leak keeping reader and note-editor iframes in memory
Fixes #4447
This commit is contained in:
parent
687399d9b0
commit
61d6ef8d3d
1 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,9 @@
|
|||
}
|
||||
|
||||
_handleTabClose(action, type, ids) {
|
||||
this._removeItemContext(ids[0]);
|
||||
for (let id of ids) {
|
||||
this._removeItemContext(id);
|
||||
}
|
||||
if (Zotero_Tabs.deck.children.length == 1) {
|
||||
Array.from(this._notesPaneDeck.children).forEach(x => x.notesList.expanded = false);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue