diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-12-23 16:25:14 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-12-23 16:25:14 -0800 |
commit | 09b2db4fdf5f3a3697c873b79185c246d968fa44 (patch) | |
tree | 318555e94bc2228b8507ad370c117eb991f740be /ext/bg/js | |
parent | 74cd35093df42e94ec111826020cd1a75236b329 (diff) |
file management
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/options-form.js | 2 | ||||
-rw-r--r-- | ext/bg/js/translator.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index fb81e83a..a999bd22 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -264,7 +264,7 @@ function onDictionarySetUrl(e) { if (url.includes('/')) { dictUrl.val(url); } else { - dictUrl.val(chrome.extension.getURL(`bg/data/${url}/index.json`)); + dictUrl.val(chrome.extension.getURL(`bg/lang/data/${url}/index.json`)); } dictUrl.trigger('input'); diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index dc374a5e..6ce57514 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -31,7 +31,7 @@ class Translator { } const promises = [ - loadJsonInt('bg/data/deinflect.json'), + loadJsonInt('bg/lang/deinflect.json'), this.database.prepare() ]; |