Bug 1182009 - Remove empty sync button in the Hamburger menu for sync 1.0 users. r=markh

This commit is contained in:
Edouard Oger 2015-07-30 14:10:00 -07:00
parent d6990f42f6
commit 8e96b2496f
2 changed files with 4 additions and 1 deletions

View File

@ -239,10 +239,13 @@ let gFxAccounts = {
// fxAccountsEnabled is false because migration has not yet finished. In
// that case, hide the button. We'll get another notification with a null
// state once migration is complete.
this.panelUIFooter.hidden = true;
this.panelUIFooter.removeAttribute("fxastatus");
return;
}
this.panelUIFooter.hidden = false;
// Make sure the button is disabled in customization mode.
if (this._inCustomizationMode) {
this.panelUIStatus.setAttribute("disabled", "true");

View File

@ -520,7 +520,7 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton {
}
#PanelUI-footer-inner,
#PanelUI-footer-fxa {
#PanelUI-footer-fxa:not([hidden]) {
display: flex;
border-top: 1px solid hsla(210,4%,10%,.14);
}