From 6f5d194b525119f15f0ea964983cac8714d22cfe Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 10 May 2021 18:16:01 -0400 Subject: Remove more legacy settings page selectors (#1659) --- ext/js/pages/settings/dictionary-import-controller.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ext/js/pages') 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`); -- cgit v1.2.3