mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08: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 $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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user