change color for "off" state, fixes #67
This commit is contained in:
parent
b1ec7cdddd
commit
c9623276e1
@ -40,7 +40,7 @@ class Backend {
|
|||||||
this.options = options;
|
this.options = options;
|
||||||
|
|
||||||
if (!options.general.enable) {
|
if (!options.general.enable) {
|
||||||
chrome.browserAction.setBadgeBackgroundColor({color: '#d9534f'});
|
chrome.browserAction.setBadgeBackgroundColor({color: '#555555'});
|
||||||
chrome.browserAction.setBadgeText({text: 'off'});
|
chrome.browserAction.setBadgeText({text: 'off'});
|
||||||
} else if (!dictConfigured(options)) {
|
} else if (!dictConfigured(options)) {
|
||||||
chrome.browserAction.setBadgeBackgroundColor({color: '#f0ad4e'});
|
chrome.browserAction.setBadgeBackgroundColor({color: '#f0ad4e'});
|
||||||
|
Loading…
Reference in New Issue
Block a user