Show when the extension is disabled
This commit is contained in:
parent
4284a12bac
commit
07a90ec0f1
@ -84,10 +84,10 @@ class Yomichan {
|
||||
|
||||
switch (state) {
|
||||
case 'disabled':
|
||||
chrome.browserAction.setBadgeText({text: ''});
|
||||
chrome.browserAction.setBadgeText({text: 'off'});
|
||||
break;
|
||||
case 'enabled':
|
||||
chrome.browserAction.setBadgeText({text: 'on'});
|
||||
chrome.browserAction.setBadgeText({text: ''});
|
||||
break;
|
||||
case 'loading':
|
||||
chrome.browserAction.setBadgeText({text: '...'});
|
||||
|
Loading…
Reference in New Issue
Block a user