mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
external links should open only in new window, not in the original window, closes #1171
This commit is contained in:
parent
4b101baf00
commit
3c1a809276
@ -83,6 +83,8 @@ function setupGlobs() {
|
|||||||
|
|
||||||
$("body").on("click", "a.external", function () {
|
$("body").on("click", "a.external", function () {
|
||||||
window.open($(this).attr("href"), '_blank');
|
window.open($(this).attr("href"), '_blank');
|
||||||
|
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user