Workaround for Firefox bar that was causing a white bar to appear on Win x64 when Firefox was started maximized

This commit is contained in:
Simon Kornblith 2011-06-01 09:10:33 +00:00
parent b6e4aacbac
commit c7a44a6f37

View file

@ -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");