grid items in note list are clickable as a whole

This commit is contained in:
zadam
2021-03-30 23:26:14 +02:00
parent f1f4f45c9d
commit 9cd45299b1
2 changed files with 20 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ function goToLink(e) {
e.preventDefault();
e.stopPropagation();
const $link = $(e.target).closest("a");
const $link = $(e.target).closest("a,.block-link");
const notePath = getNotePathFromLink($link);