mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
external links are not opened on click
This commit is contained in:
@@ -85,7 +85,9 @@ function goToLink(e) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (e.which === 1) {
|
||||
if ((e.which === 1 && e.ctrlKey) || e.which === 2
|
||||
|| $link.hasClass("ck-link-actions__preview") // within edit link dialog single click suffices
|
||||
) {
|
||||
const address = $link.attr('href');
|
||||
|
||||
if (address && address.startsWith('http')) {
|
||||
|
||||
Reference in New Issue
Block a user