diff options
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() ]; |