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