summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/dictionary-import-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-10 18:16:01 -0400
committerGitHub <noreply@github.com>2021-05-10 18:16:01 -0400
commit7b14cb3ab0b4c6c0a50546fc87c473f8875440f8 (patch)
treeff832d1cf89d6bc93b8614ced30f9b698f3333a9 /ext/js/pages/settings/dictionary-import-controller.js
parent376a28326b7b8f32e44c066d3b9b06ce980fa534 (diff)
Remove more legacy settings page selectors (#1659)
Diffstat (limited to 'ext/js/pages/settings/dictionary-import-controller.js')
-rw-r--r--ext/js/pages/settings/dictionary-import-controller.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/js/pages/settings/dictionary-import-controller.js b/ext/js/pages/settings/dictionary-import-controller.js
index c7b72110..a44b6625 100644
--- a/ext/js/pages/settings/dictionary-import-controller.js
+++ b/ext/js/pages/settings/dictionary-import-controller.js
@@ -122,14 +122,8 @@ class DictionaryImportController {
const statusFooter = this._statusFooter;
const importInfo = document.querySelector('#dictionary-import-info');
const progressSelector = '.dictionary-import-progress';
- const progressContainers = [
- ...document.querySelectorAll('#dictionary-import-progress-container'),
- ...document.querySelectorAll(`#dictionaries-modal ${progressSelector}`)
- ];
- const progressBars = [
- ...document.querySelectorAll('#dictionary-import-progress-container .progress-bar'),
- ...document.querySelectorAll(`${progressSelector} .progress-bar`)
- ];
+ const progressContainers = document.querySelectorAll(`#dictionaries-modal ${progressSelector}`);
+ const progressBars = document.querySelectorAll(`${progressSelector} .progress-bar`);
const infoLabels = document.querySelectorAll(`${progressSelector} .progress-info`);
const statusLabels = document.querySelectorAll(`${progressSelector} .progress-status`);