зеркало из https://github.com/mozilla/gecko-dev.git
Bug 808377 - Ensure that View -> Sidebar -> Social does not appear if social is disabled. r+a=gavin
This commit is contained in:
Родитель
67be913b5c
Коммит
121650928b
|
@ -994,6 +994,8 @@ var SocialSidebar = {
|
|||
// Hide the toggle menu item if the sidebar cannot appear
|
||||
let command = document.getElementById("Social:ToggleSidebar");
|
||||
command.hidden = !this.canShow;
|
||||
// Bug 772808 - hidden on the command isn't inherited by menuitems.
|
||||
document.getElementById("menu_socialSidebar").hidden = !this.canShow;
|
||||
|
||||
// Hide the sidebar if it cannot appear, or has been toggled off.
|
||||
// Also set the command "checked" state accordingly.
|
||||
|
|
Загрузка…
Ссылка в новой задаче