diff --git a/src/DocumentTitle.svelte b/src/DocumentTitle.svelte index 3c8a1336..636c2c72 100644 --- a/src/DocumentTitle.svelte +++ b/src/DocumentTitle.svelte @@ -1,9 +1,9 @@

{$activeCell = -1; spellcheck = true}} - on:blur={() => spellcheck = false} + onfocus={() => {$activeCell = -1; spellcheck = true}} + onblur={() => spellcheck = false} contenteditable="true" bind:textContent={title} - on:input={() => $nonMathCellChanged=true} + oninput={() => $nonMathCellChanged=true} {spellcheck} >

\ No newline at end of file