mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
fix ctrl+enter in sql console
This commit is contained in:
@@ -141,9 +141,10 @@ function bindElShortcut($el, keyboardShortcut, handler) {
|
||||
}
|
||||
|
||||
$el.bind('keydown', keyboardShortcut, e => {
|
||||
handler();
|
||||
handler(e);
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user