mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -51,6 +51,6 @@ async function sendForm() {
|
||||
|
||||
$importButton.on('click', sendForm);
|
||||
|
||||
$dialog.on('shown.bs.modal', () => $importTextarea.focus());
|
||||
$dialog.on('shown.bs.modal', () => $importTextarea.trigger('focus'));
|
||||
|
||||
utils.bindElShortcut($dialog, 'ctrl+return', sendForm);
|
||||
Reference in New Issue
Block a user