mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 17:38:47 +02:00
fix following links with no href
This commit is contained in:
parent
e5fdd5128a
commit
0beee408cf
@ -88,7 +88,7 @@ function goToLink(e) {
|
||||
const $link = $(e.target).closest("a,.block-link");
|
||||
const address = $link.attr('href');
|
||||
|
||||
if (address.startsWith("data:")) {
|
||||
if (address?.startsWith("data:")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user