mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-04 19:29:52 -05:00
encryption converted to module
This commit is contained in:
@@ -57,8 +57,8 @@ const noteHistory = (function() {
|
||||
let noteText = historyItem.note_text;
|
||||
|
||||
if (historyItem.encryption > 0) {
|
||||
noteTitle = decryptString(noteTitle);
|
||||
noteText = decryptString(noteText);
|
||||
noteTitle = encryption.decryptString(noteTitle);
|
||||
noteText = encryption.decryptString(noteText);
|
||||
}
|
||||
|
||||
titleEl.html(noteTitle);
|
||||
|
||||
Reference in New Issue
Block a user