Skip to content

Build your personal knowledge base with Trilium Notes

possible fix for bug which causes to reload the page when adding link (happens only rarely)

azivnerde971d5db579
diff --git a/static/js/init.js b/static/js/init.js
index b31004c23b..e5fde4b7c3 100644
--- a/static/js/init.js
+++ b/static/js/init.js
@@ -185,6 +185,8 @@ $("#insertLinkForm").submit(function addLink() {
isNewWindow: true
});
}
+
+ return false;
});
$(document).bind('keydown', 'alt+s', function() {