cosmetic cleanup, mostly in encryption

This commit is contained in:
azivner
2017-11-08 22:33:08 -05:00
parent cd5f742a7b
commit 4efa00f36b
12 changed files with 74 additions and 80 deletions

View File

@@ -104,13 +104,13 @@ const noteEditor = (function() {
data: JSON.stringify(note),
contentType: "application/json",
error: () => {
error("Error saving the note!");
showError("Error saving the note!");
}
});
isNoteChanged = false;
message("Saved!");
showMessage("Saved!");
}
function createNewTopLevelNote() {
@@ -165,7 +165,7 @@ const noteEditor = (function() {
node.renderTitle();
}
message("Created!");
showMessage("Created!");
}
function setTreeBasedOnEncryption(note) {