don't just delete itemsTree, because it doesn't get reregistered
This commit is contained in:
parent
e312fc0bb6
commit
d4a779dd53
|
@ -38,11 +38,6 @@ var ZoteroTab = new function()
|
|||
.chromeEventHandler.ownerDocument.defaultView;
|
||||
if(!this.containerWindow) return;
|
||||
|
||||
if(this.containerWindow.ZoteroPane && this.containerWindow.ZoteroPane.itemsView) {
|
||||
this.containerWindow.ZoteroPane.itemsView.unregister();
|
||||
delete this.containerWindow.ZoteroPane.itemsView;
|
||||
}
|
||||
|
||||
var tabs = (this.containerWindow.gBrowser.tabs
|
||||
? this.containerWindow.gBrowser.tabs : this.containerWindow.gBrowser.mTabs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user