mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12: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();
|
resetHandle();
|
||||||
}}
|
}}
|
||||||
on:blur={async () => {
|
on:blur={async () => {
|
||||||
resetHandle();
|
await tick();
|
||||||
|
await resetHandle();
|
||||||
}}
|
}}
|
||||||
on:close={resetHandle}
|
on:close={resetHandle}
|
||||||
let:editor={mathjaxEditor}
|
let:editor={mathjaxEditor}
|
||||||
|
|
Loading…
Reference in a new issue