diff options
Diffstat (limited to 'ext/fg/js/client.js')
-rw-r--r-- | ext/fg/js/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js index b4c1c2d4..4b34ef9a 100644 --- a/ext/fg/js/client.js +++ b/ext/fg/js/client.js @@ -115,7 +115,7 @@ class Client { this.definitions = definitions; this.showPopup(range, content); - bgCanAddNotes(definitions, (states) => { + bgCanAddNotes(definitions, ['vocabExp', 'vocabReading'], (states) => { if (states !== null) { states.forEach((state, index) => this.popup.sendMessage( 'setActionState', @@ -149,7 +149,7 @@ class Client { this.definitions = definitions; this.popup.setContent(content, definitions); - bgCanAddNotes(definitions, (states) => { + bgCanAddNotes(definitions, ['kanji'], (states) => { if (states !== null) { states.forEach((state, index) => this.popup.sendMessage( 'setActionState', |