note paths widget has context menu too

This commit is contained in:
zadam
2020-04-20 22:38:37 +02:00
parent 8473f72ec8
commit 9f1b3cc892
2 changed files with 2 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ export default class NotePathsWidget extends TabAwareWidget {
this.$currentPath.append(
$("<a>")
.attr('href', '#' + curPath)
.attr('data-note-path', curPath)
.addClass('no-tooltip-preview')
.text(await treeService.getNoteTitle(noteId, parentNoteId))
);