Bug 1117722 - Changed badge.style.backgroundColor. and badge attribute. r=jaws
authorJohn Tungul <jtungul53@yahoo.com>
Sun, 08 Feb 2015 10:38:00 +0100
changeset 242060 50574451122506e0a25de5dc2844aab113ca4238
parent 242059 0dab1771c9b7836f6e0136dc784ca275909e4bdb
child 242061 dbe74171ca49a32b7e10a91640fcb0a8bef5ed0e
push id634
push usermozilla@noorenberghe.ca
push dateTue, 10 Feb 2015 22:34:30 +0000
reviewersjaws
bugs1117722
milestone38.0a1
Bug 1117722 - Changed badge.style.backgroundColor. and badge attribute. r=jaws
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -2529,18 +2529,18 @@ let gMenuButtonUpdateBadge = {
       case STATE_PENDING:
       case STATE_PENDING_SVC:
         // If the update is successfully applied, or if the updater has fallen back
         // to non-staged updates, add a badge to the hamburger menu to indicate an
         // update will be applied once the browser restarts.
         let badge = document.getAnonymousElementByAttribute(PanelUI.menuButton,
                                                             "class",
                                                             "toolbarbutton-badge");
-        badge.style.backgroundColor = 'green';
-        PanelUI.menuButton.setAttribute("badge", "\u2605");
+        badge.style.backgroundColor = '#74BF43';
+        PanelUI.menuButton.setAttribute("badge", "\u2B06");
 
         let brandBundle = document.getElementById("bundle_brand");
         let brandShortName = brandBundle.getString("brandShortName");
         stringId = "appmenu.restartNeeded.description";
         updateButtonText = gNavigatorBundle.getFormattedString(stringId,
                                                                [brandShortName]);
 
         updateButton.setAttribute("label", updateButtonText);