diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-15 20:17:12 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-08 00:29:37 -0400 |
commit | 26fc3b5587ed117a972224ac661255998e59f9e1 (patch) | |
tree | a2adc41fddfb8e8b483124ce232d69b1b7a579ea /ui/core.js | |
parent | 2b84531ae9331f60e4d739fabca6d78abde89ae1 (diff) | |
download | jquery-ui-26fc3b5587ed117a972224ac661255998e59f9e1.tar.gz jquery-ui-26fc3b5587ed117a972224ac661255998e59f9e1.zip |
Core: Move safe blur into its own module
Ref #9647
Diffstat (limited to 'ui/core.js')
-rw-r--r-- | ui/core.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ui/core.js b/ui/core.js index f0eef1328..9e799a04c 100644 --- a/ui/core.js +++ b/ui/core.js @@ -30,6 +30,7 @@ "./jquery-1-7", "./plugin", "./safe-active-element", + "./safe-blur", "./version" ], factory ); } else { @@ -39,19 +40,6 @@ } }( function( $ ) { -$.extend( $.ui, { - - // Internal use only - safeBlur: function( element ) { - - // Support: IE9 - 10 only - // If the <body> is blurred, IE will switch windows, see #9420 - if ( element && element.nodeName.toLowerCase() !== "body" ) { - $( element ).trigger( "blur" ); - } - } -} ); - // plugins $.fn.extend( { scrollParent: function( includeHidden ) { |