mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01: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