зеркало из https://github.com/mozilla/gecko-dev.git
Fix to the flip flop behavior on the nav menus.
This commit is contained in:
Родитель
c8230b8fd7
Коммит
b5502d4a33
|
@ -1076,22 +1076,22 @@ function URLBarClickHandler(aEvent, aElt)
|
|||
function BrowserNavMenuPopup() {
|
||||
if (!gShowingNavMenuPopup){
|
||||
document.getElementById("menu_NavPopup").showPopup(document.getElementById("nav-menu-button"),-1,-1,"popup","bottomright", "topright");
|
||||
gShowingNavMenuPopup=true;
|
||||
}
|
||||
else {
|
||||
document.getElementById("menu_NavPopup").hidePopup();
|
||||
gShowingNavMenuPopup=false;
|
||||
}
|
||||
|
||||
gShowingNavMenuPopup != gShowingNavMenuPopup;
|
||||
}
|
||||
|
||||
function BrowserMenuPopup() {
|
||||
if(!gShowingMenuPopup) {
|
||||
document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft");
|
||||
gShowingMenuPopup=true;
|
||||
} else {
|
||||
document.getElementById("menu_MainPopup").hidePopup();
|
||||
gShowingMenuPopup=false;
|
||||
}
|
||||
|
||||
gShowingMenuPopup != gShowingMenuPopup;
|
||||
}
|
||||
|
||||
function BrowserMenuPopupFalse() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче