commit c7a44a6f37ec4cfe1065a7d49b35604e78cf685e
parent b6e4aacbaca21e1dd81eb0fd67a3bd8bcc60f891
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 1 Jun 2011 09:10:33 +0000
Workaround for Firefox bar that was causing a white bar to appear on Win x64 when Firefox was started maximized
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -350,6 +350,7 @@ var ZoteroPane = new function()
}
this.unserializePersist();
+ this.updateToolbarPosition();
this.updateTagSelectorSize();
// restore saved row selection (for tab switching)
@@ -3618,6 +3619,7 @@ var ZoteroPane = new function()
* Moves around the toolbar when the user moves around the pane
*/
this.updateToolbarPosition = function() {
+ if(document.getElementById("zotero-pane-stack").hidden) return;
const PANES = ["collections", "items"];
for each(var paneName in PANES) {
var pane = document.getElementById("zotero-"+paneName+"-pane");