mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
9e15d6b469
The `doc` variable in:
https://github.com/jquery/jquery/blob/3.4.1/src/event/focusin.js#L30
matched `document` for `document` & `window` for `window`, creating two
separate wrapper event handlers & calling handlers twice if at least one
`focusout` or `focusin` handler was attached on *both* `window` & `document`,
or on `window` & another regular node.
Also, fix the "focusin from an iframe" test to actually verify the behavior
from commit
|
||
---|---|---|
.. | ||
focusin.js | ||
support.js | ||
trigger.js |