mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
fix following links with no href
This commit is contained in:
@@ -88,7 +88,7 @@ function goToLink(e) {
|
|||||||
const $link = $(e.target).closest("a,.block-link");
|
const $link = $(e.target).closest("a,.block-link");
|
||||||
const address = $link.attr('href');
|
const address = $link.attr('href');
|
||||||
|
|
||||||
if (address.startsWith("data:")) {
|
if (address?.startsWith("data:")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user