diff options
Diffstat (limited to 'ext/bg/js/settings/dictionary-import-controller.js')
-rw-r--r-- | ext/bg/js/settings/dictionary-import-controller.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/settings/dictionary-import-controller.js b/ext/bg/js/settings/dictionary-import-controller.js index cce695d0..dd4889dc 100644 --- a/ext/bg/js/settings/dictionary-import-controller.js +++ b/ext/bg/js/settings/dictionary-import-controller.js @@ -304,8 +304,9 @@ class DictionaryImportController { _setButtonsEnabled(value) { value = !value; - this._purgeButton.disabled = value; - this._importFileButton.disabled = value; + for (const node of document.querySelectorAll('.dictionary-modifying-input')) { + node.disabled = value; + } } async _getPreparedDictionaryDatabase() { |