Remove more legacy settings page selectors (#1659)

This commit is contained in:
toasted-nutbread 2021-05-10 18:16:01 -04:00 committed by GitHub
parent 376a28326b
commit 7b14cb3ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`);