tweaks, fixes, refactorings, creating new note from detail, not tree

This commit is contained in:
azivner
2018-12-29 10:04:59 +01:00
parent 0b4a44a403
commit 2f680c4326
10 changed files with 81 additions and 86 deletions

View File

@@ -90,11 +90,11 @@ async function reload() {
await loadNoteDetail(getCurrentNoteId());
}
async function switchToNote(noteId, mobile) {
async function switchToNote(noteId) {
if (getCurrentNoteId() !== noteId) {
await saveNoteIfChanged();
await loadNoteDetail(noteId, mobile);
await loadNoteDetail(noteId);
}
}