diff options
-rw-r--r-- | ext/bg/js/options-form.js | 2 | ||||
-rw-r--r-- | ext/bg/options.html | 5 |
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> |