зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1192683 - Retry hiding toolbox when some of safe-to-collapse conditions change. r=dao
--HG-- extra : rebase_source : 180b080e57ad3533f21f4eaaab0dfc6bb0cd600a
This commit is contained in:
Родитель
d63ebb97cd
Коммит
623600e3a4
|
@ -307,8 +307,11 @@ var FullScreen = {
|
|||
aEvent.target.localName != "tooltip" && aEvent.target.localName != "window")
|
||||
FullScreen._isPopupOpen = true;
|
||||
else if (aEvent.type == "popuphidden" && aEvent.target.localName != "tooltip" &&
|
||||
aEvent.target.localName != "window")
|
||||
aEvent.target.localName != "window") {
|
||||
FullScreen._isPopupOpen = false;
|
||||
// Try again to hide toolbar when we close the popup.
|
||||
FullScreen.hideNavToolbox(true);
|
||||
}
|
||||
},
|
||||
|
||||
// Autohide helpers for the context menu item
|
||||
|
@ -319,6 +322,8 @@ var FullScreen = {
|
|||
setAutohide: function()
|
||||
{
|
||||
gPrefService.setBoolPref("browser.fullscreen.autohide", !gPrefService.getBoolPref("browser.fullscreen.autohide"));
|
||||
// Try again to hide toolbar when we change the pref.
|
||||
FullScreen.hideNavToolbox(true);
|
||||
},
|
||||
|
||||
_WarningBox: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче