mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
f593d8ac04
Because focus/blur events are fired synchonously, browsers can get confused if UI code starts focusing other elements while inside a focus/blur handler, and end up firing events in the wrong order which can cause infinite loops. This change ensures we only get a focus/blur event when they really are happening, and you always get one then the other. |
||
---|---|---|
.. | ||
document.html | ||
squire-raw.js | ||
squire.js |