From 76c27556f48bea48d3787c241d35e190d46c3245 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 24 Mar 2015 14:10:37 -0400 Subject: [PATCH] Core: Handle IE11 bug with document.activeElement in iframes Fixes #11539 Closes gh-1518 --- ui/core.js | 7 +++++++ 1 file changed, 7 insertions(+) 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