aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-21 15:40:08 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-21 15:40:08 -0700
commit07a90ec0f1d1822ce8ba7cae7fb565f0c99fdd9b (patch)
tree380442d31ca58df9e32bb4457306dc9ac2670492
parent4284a12bac072b7b6611b32d4a9e6fcc29026d64 (diff)
Show when the extension is disabled
-rw-r--r--ext/bg/js/yomichan.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 1ebdd072..14d311c0 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -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: '...'});