diff --git a/ts/routes/editor/NoteEditor.svelte b/ts/routes/editor/NoteEditor.svelte index 1e352fd74..f6f84f997 100644 --- a/ts/routes/editor/NoteEditor.svelte +++ b/ts/routes/editor/NoteEditor.svelte @@ -1209,10 +1209,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html async function loadNote(args: Partial) { if (args.initial) { - initialLoadArgs = args; + initialLoadArgs = {...args, initial: false}; } if (typeof args.focusTo === "undefined") { - args.focusTo = focusedFieldIndex; + args = {...args, focusTo: focusedFieldIndex}; } loadDebouncer.schedule(async () => { await loadNoteInner(