Bug 862998 - Make UITour compatible with Australis, r=dolske

This commit is contained in:
Blair McBride 2013-09-17 03:55:00 +02:00
Родитель 2b30d3ad35
Коммит 007b41ab06
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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");
}, },