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
|
@ -350,6 +350,7 @@ var ZoteroPane = new function()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.unserializePersist();
|
this.unserializePersist();
|
||||||
|
this.updateToolbarPosition();
|
||||||
this.updateTagSelectorSize();
|
this.updateTagSelectorSize();
|
||||||
|
|
||||||
// restore saved row selection (for tab switching)
|
// 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
|
* Moves around the toolbar when the user moves around the pane
|
||||||
*/
|
*/
|
||||||
this.updateToolbarPosition = function() {
|
this.updateToolbarPosition = function() {
|
||||||
|
if(document.getElementById("zotero-pane-stack").hidden) return;
|
||||||
const PANES = ["collections", "items"];
|
const PANES = ["collections", "items"];
|
||||||
for each(var paneName in PANES) {
|
for each(var paneName in PANES) {
|
||||||
var pane = document.getElementById("zotero-"+paneName+"-pane");
|
var pane = document.getElementById("zotero-"+paneName+"-pane");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user