We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c42a07a commit 0de27b0Copy full SHA for 0de27b0
ui/core.js
@@ -63,6 +63,13 @@ $.extend( $.ui, {
63
activeElement = document.body;
64
}
65
66
+ // Support: IE 9 - 11 only
67
+ // IE may return null instead of an element
68
+ // Interestingly, this only seems to occur when NOT in an iframe
69
+ if ( !activeElement ) {
70
+ activeElement = document.body;
71
+ }
72
+
73
// Support: IE 11 only
74
// IE11 returns a seemingly empty object in some cases when accessing
75
// document.activeElement from an <iframe>
0 commit comments