From: Scott González Date: Tue, 24 Mar 2015 18:10:37 +0000 (-0400) Subject: Core: Handle IE11 bug with document.activeElement in iframes X-Git-Tag: 1.12.0-beta.1~354 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=76c27556f48bea48d3787c241d35e190d46c3245;p=jquery-ui.git Core: Handle IE11 bug with document.activeElement in iframes Fixes #11539 Closes gh-1518 --- diff --git a/ui/core.js b/ui/core.js index eaf11d0a8..a8167d683 100644 --- a/ui/core.js +++ b/ui/core.js @@ -63,6 +63,13 @@ $.extend( $.ui, { activeElement = document.body; } + // Support: IE 11 only + // IE11 returns a seemingly empty object in some cases when accessing + // document.activeElement from an