All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.js.base.safe-blur.js Maven / Gradle / Ivy

There is a newer version: 5.0.5
Show newest version
( function( factory ) {
	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [ "jquery", "./version" ], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} ( function( $ ) {
return $.ui.safeBlur = function( element ) {

	// Support: IE9 - 10 only
	// If the  is blurred, IE will switch windows, see #9420
	if ( element && element.nodeName.toLowerCase() !== "body" ) {
		$( element ).trigger( "blur" );
	}
};

} ) );




© 2015 - 2024 Weber Informatics LLC | Privacy Policy