Don't set negative margin to the navigator toolbox in the fullscreen mode, on OS X Lion (#645)
This commit is contained in:
parent
439697f462
commit
65f1c79acc
@ -86,8 +86,10 @@ FullscreenObserver.prototype = {
|
|||||||
if (d.documentElement.getAttribute('sizemode') != 'fullscreen')
|
if (d.documentElement.getAttribute('sizemode') != 'fullscreen')
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var toolbox = w.gNavToolbox;
|
if (!w.FullScreen.useLionFullScreen) { // see https://github.com/piroor/treestyletab/issues/645
|
||||||
toolbox.style.marginTop = -toolbox.getBoundingClientRect().height + 'px';
|
let toolbox = w.gNavToolbox;
|
||||||
|
toolbox.style.marginTop = -toolbox.getBoundingClientRect().height + 'px';
|
||||||
|
}
|
||||||
|
|
||||||
var windowControls = d.getElementById('window-controls');
|
var windowControls = d.getElementById('window-controls');
|
||||||
var navigationToolbar = d.getElementById('nav-bar');
|
var navigationToolbar = d.getElementById('nav-bar');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user