Bug 666257 - Remove redundant activePanel update (r=mbrubeck)

BrowserUI.showPanel() already unsets activePanel if necessary.
This commit is contained in:
Lucas Rocha 2011-08-19 09:29:23 -07:00
parent f455c71048
commit 0b69e2e775

View File

@ -1270,7 +1270,6 @@ var BrowserUI = {
} else if (!Weave.Service.isLoggedIn && !Services.prefs.getBoolPref("browser.sync.enabled")) {
// unchecked the relative command button
document.getElementById("remotetabs-button").removeAttribute("checked");
this.activePanel = null;
BrowserUI.showPanel("prefs-container");
let prefsBox = document.getElementById("prefs-list");