mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
attempt to fix problem when inserting link
This commit is contained in:
@@ -135,7 +135,7 @@ $(document).bind('keydown', 'alt+l', function() {
|
||||
});
|
||||
});
|
||||
|
||||
$("#addLinkButton").click(function() {
|
||||
$("#insertLinkForm").submit(function addLink() {
|
||||
let val = $("#noteAutocomplete").val();
|
||||
|
||||
const noteIdMatch = / \(([A-Za-z0-9]{22})\)/.exec(val);
|
||||
|
||||
Reference in New Issue
Block a user