diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-08-15 19:39:58 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-08-15 19:39:58 -0400 |
commit | 0f0adf750c8cde668cdcf369cbe0ac173a9edf3f (patch) | |
tree | ac33e7efb308f06444a18feb535aab7fba6fd45f /ext/fg/js/frontend.js | |
parent | e23d4b9a82581f3cf1118e31d077fc9cdaff7573 (diff) |
Add ability to save screenshot to anki cards
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index bd652f3b..bafd06bd 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -244,6 +244,10 @@ class Frontend { if (!this.options.enable) { this.searchClear(); } + }, + + popupSetVisible: ({visible}) => { + this.popup.setVisible(visible); } }; |