mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 316117, removed from the init code, added setStripVisibility if tab>1
This commit is contained in:
parent
4eec5027f7
commit
d45a73e83e
@ -291,14 +291,6 @@ function MiniNavStartup()
|
||||
*/
|
||||
getBrowser().mStrip.addEventListener("click",BrowserWithoutSNAV,false);
|
||||
document.getElementById("mini-toolbars").addEventListener("click",BrowserWithoutSNAV,false);
|
||||
|
||||
|
||||
/*
|
||||
* Toolkit in Minimo, box strip is active, as opposite to in FF
|
||||
*/
|
||||
if(getBrowser().mPanelContainer.childNodes.length==1) {
|
||||
getBrowser().mStrip.collapsed=true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -729,7 +721,11 @@ function DoFullScreen()
|
||||
|
||||
document.getElementById("nav-bar").hidden = gFullScreen;
|
||||
|
||||
getBrowser().setStripVisibilityTo(!gFullScreen);
|
||||
// Maybe a simpler approach here, via some attribute or documented interface?
|
||||
if(getBrowser().mPanelContainer.childNodes.length==1) {
|
||||
getBrowser().setStripVisibilityTo(!gFullScreen);
|
||||
}
|
||||
|
||||
window.fullScreen = gFullScreen;
|
||||
|
||||
document.getElementById("nav-bar-contextual").hidden = !gFullScreen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user