Merge pull request #2165 from mozilla/update-badge
Update badge color and copy
This commit is contained in:
commit
5c12e58cd7
1 changed files with 3 additions and 2 deletions
|
@ -11,8 +11,9 @@ const badge = {
|
|||
|
||||
if (MAJOR_VERSIONS.indexOf(extensionInfo.version) > -1 &&
|
||||
storage.browserActionBadgesClicked.indexOf(extensionInfo.version) < 0) {
|
||||
browser.browserAction.setBadgeBackgroundColor({ color: "rgba(0,217,0,255)" });
|
||||
browser.browserAction.setBadgeText({ text: "NEW" });
|
||||
browser.browserAction.setBadgeBackgroundColor({ color: "rgb(255, 79, 94)" });
|
||||
browser.browserAction.setBadgeText({ text: "!" });
|
||||
browser.browserAction.setBadgeTextColor({ color: "rgb(255, 255, 255)" });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue