Sha256: 91d35015b99f885e1b095801293c432738315fdb1e242cec948a0457f3daaf2b

Contents?: true

Size: 554 Bytes

Versions: 18

Compression:

Stored size: 554 Bytes

Contents

//= require jquery-ui/version

( 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" );
	}
};

} );

Version data entries

18 entries across 18 versions & 5 rubygems

Version Path
alchemy_cms-7.0.16 vendor/assets/javascripts/jquery-ui/safe-blur.js
activeadmin-3.2.5 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.15 vendor/assets/javascripts/jquery-ui/safe-blur.js
activeadmin-3.2.4 vendor/assets/javascripts/jquery-ui/safe-blur.js
activeadmin-3.2.3 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.14 vendor/assets/javascripts/jquery-ui/safe-blur.js
activeadmin-3.2.2 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.13 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.12 vendor/assets/javascripts/jquery-ui/safe-blur.js
jquery-ui-rails-7.0.0 app/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.11 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.10 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.9 vendor/assets/javascripts/jquery-ui/safe-blur.js
jquery-ui-rails-dox-fork-7.0.2 app/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.8 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.7 vendor/assets/javascripts/jquery-ui/safe-blur.js
alchemy_cms-7.0.6 vendor/assets/javascripts/jquery-ui/safe-blur.js
jquery-ui-rails-test-6.0.2 app/assets/javascripts/jquery-ui/safe-blur.js