From 76c27556f48bea48d3787c241d35e190d46c3245 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 24 Mar 2015 14:10:37 -0400 Subject: Core: Handle IE11 bug with document.activeElement in iframes Fixes #11539 Closes gh-1518 --- ui/core.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ui') 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