Show when the extension is disabled

This commit is contained in:
Alex Yatskov 2016-05-21 15:40:08 -07:00
parent 4284a12bac
commit 07a90ec0f1

View File

@ -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: '...'});