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 eb13525 commit e3ff671Copy full SHA for e3ff671
ui/core.js
@@ -57,6 +57,13 @@ $.extend( $.ui, {
57
activeElement = document.body;
58
}
59
60
+ // Support: IE 9 - 11 only
61
+ // IE may return null instead of an element
62
+ // Interestingly, this only seems to occur when NOT in an iframe
63
+ if ( !activeElement ) {
64
+ activeElement = document.body;
65
+ }
66
+
67
// Support: IE 11 only
68
// IE11 returns a seemingly empty object in some cases when accessing
69
// document.activeElement from an <iframe>
0 commit comments