mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 544659 - Remove support for downgrading to Firefox 2 after customizing toolbars. r=gavin
This commit is contained in:
parent
13a892129b
commit
e001efaf64
@ -3397,14 +3397,6 @@ function BrowserToolboxCustomizeDone(aToolboxChanged) {
|
||||
document.getElementById('Browser:Back').hasAttribute('disabled') &&
|
||||
document.getElementById('Browser:Forward').hasAttribute('disabled');
|
||||
|
||||
// support downgrading to Firefox 2.0
|
||||
var navBar = document.getElementById("nav-bar");
|
||||
navBar.setAttribute("currentset",
|
||||
navBar.getAttribute("currentset")
|
||||
.replace("unified-back-forward-button",
|
||||
"unified-back-forward-button,back-button,forward-button"));
|
||||
document.persist(navBar.id, "currentset");
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
updateEditUIVisibility();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user