зеркало из https://github.com/mozilla/gecko-dev.git
Bug 862998 - Make UITour compatible with Australis, r=dolske
This commit is contained in:
Родитель
2b30d3ad35
Коммит
007b41ab06
|
@ -26,8 +26,8 @@ this.UITour = {
|
||||||
|
|
||||||
highlightEffects: ["wobble", "zoom", "color"],
|
highlightEffects: ["wobble", "zoom", "color"],
|
||||||
targets: new Map([
|
targets: new Map([
|
||||||
["backforward", "#unified-back-forward-button"],
|
["backforward", "#back-button"],
|
||||||
["appmenu", "#appmenu-button"],
|
["appmenu", "#PanelUI-menu-button"],
|
||||||
["home", "#home-button"],
|
["home", "#home-button"],
|
||||||
["urlbar", "#urlbar"],
|
["urlbar", "#urlbar"],
|
||||||
["bookmarks", "#bookmarks-menu-button"],
|
["bookmarks", "#bookmarks-menu-button"],
|
||||||
|
@ -384,7 +384,7 @@ this.UITour = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aMenuName == "appmenu")
|
if (aMenuName == "appmenu")
|
||||||
openMenuButton("appmenu-button");
|
aWindow.PanelUI.show();
|
||||||
else if (aMenuName == "bookmarks")
|
else if (aMenuName == "bookmarks")
|
||||||
openMenuButton("bookmarks-menu-button");
|
openMenuButton("bookmarks-menu-button");
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче