aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/popup.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-25 16:28:15 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-25 16:28:15 -0700
commitbc2bf51a072af45ddc61a7f6b1c5cc3b94f8ad3e (patch)
treec05b144049f5bb9fcf89cb1b891980b27ea8bd80 /ext/bg/js/popup.js
parentb8d0788144974daab8d55c8de1af7515a291ba4f (diff)
wip
Diffstat (limited to 'ext/bg/js/popup.js')
-rw-r--r--ext/bg/js/popup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/popup.js b/ext/bg/js/popup.js
index 5bc7def4..8577dd96 100644
--- a/ext/bg/js/popup.js
+++ b/ext/bg/js/popup.js
@@ -19,8 +19,8 @@
$(document).ready(() => {
$('#open-search').click(() => commandExec('search'));
- $('#open-options').click(() => chrome.runtime.openOptionsPage());
- $('#open-help').click(() => window.open('http://foosoft.net/projects/yomichan'));
+ $('#open-options').click(() => commandExec('options'));
+ $('#open-help').click(() => commandExec('help'));
optionsLoad().then(options => {
const toggle = $('#enable-search');