Remove more legacy settings page selectors (#1659)
This commit is contained in:
parent
376a28326b
commit
7b14cb3ab0
@ -122,14 +122,8 @@ class DictionaryImportController {
|
|||||||
const statusFooter = this._statusFooter;
|
const statusFooter = this._statusFooter;
|
||||||
const importInfo = document.querySelector('#dictionary-import-info');
|
const importInfo = document.querySelector('#dictionary-import-info');
|
||||||
const progressSelector = '.dictionary-import-progress';
|
const progressSelector = '.dictionary-import-progress';
|
||||||
const progressContainers = [
|
const progressContainers = document.querySelectorAll(`#dictionaries-modal ${progressSelector}`);
|
||||||
...document.querySelectorAll('#dictionary-import-progress-container'),
|
const progressBars = document.querySelectorAll(`${progressSelector} .progress-bar`);
|
||||||
...document.querySelectorAll(`#dictionaries-modal ${progressSelector}`)
|
|
||||||
];
|
|
||||||
const progressBars = [
|
|
||||||
...document.querySelectorAll('#dictionary-import-progress-container .progress-bar'),
|
|
||||||
...document.querySelectorAll(`${progressSelector} .progress-bar`)
|
|
||||||
];
|
|
||||||
const infoLabels = document.querySelectorAll(`${progressSelector} .progress-info`);
|
const infoLabels = document.querySelectorAll(`${progressSelector} .progress-info`);
|
||||||
const statusLabels = document.querySelectorAll(`${progressSelector} .progress-status`);
|
const statusLabels = document.querySelectorAll(`${progressSelector} .progress-status`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user