diff options
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/options.js | 2 | ||||
-rw-r--r-- | ext/bg/options.html | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index eb8e32d8..5f564b33 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -187,7 +187,7 @@ function onDictionaryPurge(e) { return optionsLoad(); }).then(options => { options.dictionaries = {}; - return optionsSave(options).then(populateDictionaries); + return optionsSave(options).then(() => populateDictionaries(options)); }); } diff --git a/ext/bg/options.html b/ext/bg/options.html index 7d95860b..2a6928cf 100644 --- a/ext/bg/options.html +++ b/ext/bg/options.html @@ -127,7 +127,7 @@ <div> <div> - <img src="img/spinner.gif" class="pull-right" id="anki-spinner" alt> + <img src="/mixed/img/spinner.gif" class="pull-right" id="anki-spinner" alt> <h3>Anki Options</h3> </div> @@ -237,7 +237,6 @@ <script src="/mixed/lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script> <script src="/mixed/lib/handlebars.min.js"></script> <script src="/bg/js/templates.js"></script> - <script src="/bg/js/gecko.js"></script> <script src="/bg/js/util.js"></script> <script src="/bg/js/options.js"></script> </body> |