mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
ctrl+enter should work only on tab detail
This commit is contained in:
@@ -16,7 +16,7 @@ class NoteDetailCode {
|
||||
this.$component = ctx.$tabContent.find('.note-detail-code');
|
||||
this.$executeScriptButton = ctx.$tabContent.find(".execute-script-button");
|
||||
|
||||
utils.bindShortcut("ctrl+return", () => this.executeCurrentNote());
|
||||
utils.bindElShortcut(ctx.$tabContent, "ctrl+return", () => this.executeCurrentNote());
|
||||
|
||||
this.$executeScriptButton.click(() => this.executeCurrentNote());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user