mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
tweaks, fixes, refactorings, creating new note from detail, not tree
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user