fixed jump to note

This commit is contained in:
azivner
2017-11-19 20:36:13 -05:00
parent 658f4872af
commit c8aaf6085d
6 changed files with 39 additions and 25 deletions

View File

@@ -79,7 +79,7 @@ $.ui.autocomplete.filter = (array, terms) => {
$(document).tooltip({
items: ".note-editable a",
content: function(callback) {
const noteId = link.getNoteIdFromLink($(this).attr("href"));
const noteId = link.getNotePathFromLink($(this).attr("href"));
if (noteId !== null) {
noteEditor.loadNote(noteId).then(note => callback(note.detail.note_text));