mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Fix cursor moving to field start when closing MathJax editor
Closes #2258
This commit is contained in:
parent
2179f9e133
commit
8506206c5b
1 changed files with 2 additions and 1 deletions
|
@ -223,7 +223,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
resetHandle();
|
||||
}}
|
||||
on:blur={async () => {
|
||||
resetHandle();
|
||||
await tick();
|
||||
await resetHandle();
|
||||
}}
|
||||
on:close={resetHandle}
|
||||
let:editor={mathjaxEditor}
|
||||
|
|
Loading…
Reference in a new issue