aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-08 22:20:06 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-08 22:20:06 -0800
commit58357552f8fc63b0e19817d71df8d96d4bba090d (patch)
tree7eb22d5c00253eac8b369475dc51ad8d930dffe8 /ext
parent121d5e7c5eef4f0ae8badeab61101f48ddec02c9 (diff)
WIP
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/options-form.js2
-rw-r--r--ext/bg/options.html5
2 files changed, 4 insertions, 3 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index 1fcd0838..983ef51d 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -182,7 +182,7 @@ function onDictionaryImport() {
const dictError = $('#dict-error');
dictError.hide();
- const dictProgress = $('#dict-import-progress');
+ const dictProgress = $('.dict-import-progress');
dictProgress.show();
const dictSpinner = $('#dict-spinner');
diff --git a/ext/bg/options.html b/ext/bg/options.html
index 57c6a482..4f74a58e 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.6-dist/css/bootstrap-theme.min.css">
<style>
#anki-spinner, #anki-general, #anki-error,
- #dict-spinner, #dict-import-progress, .dict-delete-progress,
+ #dict-spinner, .dict-import-progress, .dict-delete-progress,
#options-advanced {
display: none;
}
@@ -75,7 +75,8 @@
<span></span>
</div>
- <div class="progress" id="dict-import-progress">
+ <div class="dict-import-progress">Dictionary data is being imported, please be patient...</div>
+ <div class="progress dict-import-progress">
<div class="progress-bar progress-bar-striped" style="width: 0%"></div>
</div>