fix following links with no href

This commit is contained in:
zadam 2022-08-01 22:26:03 +02:00
parent e5fdd5128a
commit 0beee408cf

View File

@ -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;
}