diff options
Diffstat (limited to 'ext/bg/js/yomichan.js')
| -rw-r--r-- | ext/bg/js/yomichan.js | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index eb083396..214bdef3 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -59,6 +59,12 @@ window.yomichan = new class {          } else {              this.anki = new AnkiNull();          } + +        chrome.tabs.query({}, tabs => { +            for (const tab of tabs) { +                chrome.tabs.sendMessage(tab.id, {action: 'optionsSet', params: options}, () => null); +            } +        });      }      noteFormat(definition, mode) { |