aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-04 19:42:30 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-04 19:42:30 -0800
commit7269583547cb379a413496946abce145703b2b8a (patch)
treef8cb49b646f6c5faa8008981311e1dd61812d610 /ext/bg/js
parent158818713a59509344b0916e6dcfb44cb5042dbd (diff)
polish
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options.js1
-rw-r--r--ext/bg/js/popup.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 84ecc6e3..eb8e32d8 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -234,6 +234,7 @@ function onDictionaryUpdateUrl() {
$('#dict-import').prop('disabled', $(this).val().length === 0);
}
+
/*
* Anki
*/
diff --git a/ext/bg/js/popup.js b/ext/bg/js/popup.js
index 37a76832..9f2567df 100644
--- a/ext/bg/js/popup.js
+++ b/ext/bg/js/popup.js
@@ -18,7 +18,7 @@
$(document).ready(() => {
- $('#open-search').click(() => window.open(chrome.extension.getURL('bg/search.html')));
+ $('#open-search').click(() => window.open(chrome.extension.getURL('/bg/search.html')));
$('#open-options').click(() => chrome.runtime.openOptionsPage());
$('#open-help').click(() => window.open('http://foosoft.net/projects/yomichan'));