hover tooltip for internal links

This commit is contained in:
azivner
2017-10-11 20:37:27 -04:00
parent 562a071350
commit c4ed01128b
7 changed files with 66 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ function resetEncryptionSession() {
globalDataKey = null;
if (globalCurrentNote.detail.encryption > 0) {
loadNote(globalCurrentNote.detail.note_id);
loadNoteToEditor(globalCurrentNote.detail.note_id);
for (const noteId of globalAllNoteIds) {
const note = getNodeByKey(noteId);
@@ -280,7 +280,7 @@ function encryptSubTree(noteId) {
},
note => {
if (note.detail.note_id === globalCurrentNote.detail.note_id) {
loadNote(note.detail.note_id);
loadNoteToEditor(note.detail.note_id);
}
else {
setTreeBasedOnEncryption(note);
@@ -307,7 +307,7 @@ function decryptSubTree(noteId) {
},
note => {
if (note.detail.note_id === globalCurrentNote.detail.note_id) {
loadNote(note.detail.note_id);
loadNoteToEditor(note.detail.note_id);
}
else {
setTreeBasedOnEncryption(note);