mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
getting rid of attributes like data-note-path in favor of the whole nav state in URLs
This commit is contained in:
@@ -701,9 +701,8 @@ export default class AttributeDetailWidget extends NoteContextAwareWidget {
|
||||
|
||||
createNoteLink(noteId) {
|
||||
return $("<a>", {
|
||||
href: `#${noteId}`,
|
||||
class: 'reference-link',
|
||||
'data-note-path': noteId
|
||||
href: `#root/${noteId}`,
|
||||
class: 'reference-link'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user