Fix MathJax editor not hiding on blur again
Originally fixed with e14f87ba99
,
accidentally reverted in #2070
This commit is contained in:
parent
8f311f5e8c
commit
3413115be7
@ -222,10 +222,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
placeHandle(true);
|
||||
resetHandle();
|
||||
}}
|
||||
on:tab={async () => {
|
||||
// Instead of resetting on blur, we reset on tab
|
||||
// Otherwise, when clicking from Mathjax element to another,
|
||||
// the user has to click twice (focus is called before blur?)
|
||||
on:blur={async () => {
|
||||
resetHandle();
|
||||
}}
|
||||
on:close={resetHandle}
|
||||
|
Loading…
Reference in New Issue
Block a user