summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/yomichan.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/yomichan.js b/ext/js/yomichan.js
index 5a55b3ea..a4feaa23 100644
--- a/ext/js/yomichan.js
+++ b/ext/js/yomichan.js
@@ -214,7 +214,9 @@ class Yomichan extends EventDispatcher {
}
_onMessageOptionsUpdated({source}) {
- this.trigger('optionsUpdated', {source});
+ if (source !== 'background') {
+ this.trigger('optionsUpdated', {source});
+ }
}
_onMessageDatabaseUpdated({type, cause}) {