Skip to content

Build your personal knowledge base with Trilium Notes

external links should open only in new window, not in the original window, closes #1171

zadam3c1a80927685
diff --git a/src/public/app/services/glob.js b/src/public/app/services/glob.js
index e2de69def0..0eaf8edde3 100644
--- a/src/public/app/services/glob.js
+++ b/src/public/app/services/glob.js
@@ -83,6 +83,8 @@ function setupGlobs() {
$("body").on("click", "a.external", function () {
window.open($(this).attr("href"), '_blank');
+
+ return false;
});
}