diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-07-19 21:41:30 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-07-19 21:41:30 -0700 |
commit | ac2e079c98f87acfbafd2105461885a1cb199c76 (patch) | |
tree | 7ed953a25ce01176a1578b7d13c4652f55658190 /ext/bg/js/popup.js | |
parent | fe137e94c92cf0366735936b6ac82dc147b1ad33 (diff) |
cleanup
Diffstat (limited to 'ext/bg/js/popup.js')
-rw-r--r-- | ext/bg/js/popup.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/popup.js b/ext/bg/js/popup.js index 8577dd96..01994827 100644 --- a/ext/bg/js/popup.js +++ b/ext/bg/js/popup.js @@ -18,6 +18,8 @@ $(document).ready(() => { + const commandExec = command => instYomi().onCommand(command); + $('#open-search').click(() => commandExec('search')); $('#open-options').click(() => commandExec('options')); $('#open-help').click(() => commandExec('help')); |