Description
If I attach focusout event on the $(window) and $(document), each events are called twice.
I use jQuery v3.4.1 and I have the same problem with Firefox (v74.0.1) and Chrome (v80.0.3987.163).
If I use native Js, each events are called once.
Link to test case
https://jsbin.com/rilamarodi/1/edit?html,css,js,output
open console, focus input field and go out (remove focus) to see on console that each events are called twice.
