Remove style making double editing weird

fixes #29
This commit is contained in:
Max G
2020-03-14 18:52:00 +00:00
parent 342ac95282
commit 749d2cea94
2 changed files with 6 additions and 2 deletions

View File

@@ -202,6 +202,10 @@ Note.update = (io, userId, noteId, noteText, noteTitle, color, pinned, archived,
//Encrypt note text if proper data is setup
if(password.length > 3 && salt.length > 1000){
noteText = cs.encrypt(password, salt, noteText)
//
// @TODO - Do note save data if encryption goes wrong, do some validation
//
}
//Update Note text