This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Commit 5f06bd1
Popup: do not call blur if the target is the body
In IE 10 (and possibly older versions of IE) when there is a single tab open
and a popup is displayed and there is another window on the same monitor,
calling target.blur() can cause the browser to go to the background because the
body element is the targetElement. Ensuring the element is not the body element
before calling blur() fixes this issue.
Fixes gh-7639
Closes gh-7298
(cherry picked from commit b14dd31)1 parent 01dc1e3 commit 5f06bd1
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| |||
0 commit comments