Commit 3936cf3
authored
Selector: Wrap activeElement access in try-catch
In IE 9 accessing `document.activeElement` may throw; see
https://bugs.jquery.com/ticket/13393. We've already guarded
against this in event code but not in selector.
Closes gh-52291 parent 754108f commit 3936cf3
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
166 | 177 | | |
167 | 178 | | |
168 | 179 | | |
| |||
1316 | 1327 | | |
1317 | 1328 | | |
1318 | 1329 | | |
1319 | | - | |
| 1330 | + | |
1320 | 1331 | | |
1321 | 1332 | | |
1322 | 1333 | | |
| |||
0 commit comments