aboutsummaryrefslogtreecommitdiffstats
path: root/ui/safe-blur.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/safe-blur.js')
-rw-r--r--ui/safe-blur.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/ui/safe-blur.js b/ui/safe-blur.js
deleted file mode 100644
index c0b3b8a1e..000000000
--- a/ui/safe-blur.js
+++ /dev/null
@@ -1,25 +0,0 @@
-( function( factory ) {
- "use strict";
-
- if ( typeof define === "function" && define.amd ) {
-
- // AMD. Register as an anonymous module.
- define( [ "jquery", "./version" ], factory );
- } else {
-
- // Browser globals
- factory( jQuery );
- }
-} )( function( $ ) {
-"use strict";
-
-return $.ui.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" );
- }
-};
-
-} );