From 09b2db4fdf5f3a3697c873b79185c246d968fa44 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 23 Dec 2016 16:25:14 -0800 Subject: file management --- ext/bg/js/options-form.js | 2 +- ext/bg/js/translator.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bg/js') 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() ]; -- cgit v1.2.3