mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 12:08:03 +08: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
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ function setupGlobs() {
|
|||
|
||||
$("body").on("click", "a.external", function () {
|
||||
window.open($(this).attr("href"), '_blank');
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue