aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-06 20:43:09 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-06 20:43:09 -0800
commit6eab90b89c7320476e06ab4699d6e86ef0a967ae (patch)
tree297b9093df8c0b329569e12ed254424702728260 /ext/bg/js
parent3655e5a8204232fa85c35515edaa0b1b6da66e66 (diff)
Cleanup
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options-form.js4
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);
});