diff --git a/static/js/note.js b/static/js/note.js index 2b126c392..b9da973d6 100644 --- a/static/js/note.js +++ b/static/js/note.js @@ -162,6 +162,9 @@ function setNoteBackgroundIfEncrypted(note) { $("#encryptButton").show(); $("#decryptButton").hide(); } + + const node = getNodeByKey(note.detail.note_id); + node.toggleClass("encrypted", note.detail.encryption > 0); } function loadNote(noteId) {