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:
parent
b6e4aacbac
commit
c7a44a6f37
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue