mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-22 03:39:23 -05:00
attempt to fix problem when inserting link
This commit is contained in:
+1
-1
@@ -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