diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/options-form.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index a37ebbaf..63e2d2f5 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -298,10 +298,10 @@ $(document).ready(() => { } else { control.val(chrome.extension.getURL(`bg/data/${url}`)); } - control.trigger('change'); + control.trigger('input'); }); - $('#dict-import-url').on('change keyup paste', () => { + $('#dict-import-url').on('input', () => { const disable = $('#dict-import-url').val().trim().length === 0; $('#dict-import-start').prop('disabled', disable); }); |