зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195743 - Remove old migration step removing bookmarks-menu-button's persisted class attribute. r=gijs
This commit is contained in:
Родитель
e5eea62edc
Коммит
2cf3cac6c4
|
@ -1904,10 +1904,7 @@ BrowserGlue.prototype = {
|
|||
}
|
||||
|
||||
if (currentUIVersion < 16) {
|
||||
let isCollapsed = xulStore.getValue(BROWSER_DOCURL, "nav-bar", "collapsed");
|
||||
if (isCollapsed == "true") {
|
||||
xulStore.setValue(BROWSER_DOCURL, "nav-bar", "collapsed", "false");
|
||||
}
|
||||
xulStore.removeValue(BROWSER_DOCURL, "nav-bar", "collapsed");
|
||||
}
|
||||
|
||||
// Insert the bookmarks-menu-button into the nav-bar if it isn't already
|
||||
|
@ -1967,12 +1964,6 @@ BrowserGlue.prototype = {
|
|||
xulStore.removeValue(BROWSER_DOCURL, "TabsToolbar", "collapsed");
|
||||
}
|
||||
|
||||
if (currentUIVersion < 21) {
|
||||
// Make sure the 'toolbarbutton-1' class will always be present from here
|
||||
// on out.
|
||||
xulStore.removeValue(BROWSER_DOCURL, "bookmarks-menu-button", "class");
|
||||
}
|
||||
|
||||
if (currentUIVersion < 22) {
|
||||
// Reset the Sync promobox count to promote the new FxAccount-based Sync.
|
||||
Services.prefs.clearUserPref("browser.syncPromoViewsLeft");
|
||||
|
|
Загрузка…
Ссылка в новой задаче