Cleanup
This commit is contained in:
parent
3655e5a820
commit
6eab90b89c
@ -298,10 +298,10 @@ $(document).ready(() => {
|
|||||||
} else {
|
} else {
|
||||||
control.val(chrome.extension.getURL(`bg/data/${url}`));
|
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;
|
const disable = $('#dict-import-url').val().trim().length === 0;
|
||||||
$('#dict-import-start').prop('disabled', disable);
|
$('#dict-import-start').prop('disabled', disable);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user