diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 17a3de3d94..38cf08b5a6 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -104,9 +104,12 @@ var ZoteroPane = new function() this.updateWindow(); window.addEventListener("resize", () => { this.updateWindow(); - this.updateToolbarPosition(); - this.updateTagsBoxSize(); - this.updateItemTreeColumnWidths(); + let tabsDeck = document.querySelector('#tabs-deck') + if (!tabsDeck || tabsDeck.getAttribute('selectedIndex') == 0) { + this.updateToolbarPosition(); + this.updateTagsBoxSize(); + this.updateItemTreeColumnWidths(); + } }); window.setTimeout(this.updateToolbarPosition.bind(this), 0);