mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
getting rid of attributes like data-note-path in favor of the whole nav state in URLs
This commit is contained in:
@@ -32,7 +32,8 @@ async function mouseEnterHandler() {
|
||||
return;
|
||||
}
|
||||
|
||||
const { notePath, noteId, viewScope } = linkService.parseNotePathAndScope($link);
|
||||
const url = $link.attr("href") || $link.attr("data-href");
|
||||
const { notePath, noteId, viewScope } = linkService.parseNavigationStateFromUrl(url);
|
||||
|
||||
if (!notePath || viewScope.viewMode !== 'default') {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user