mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Remove core event/alias and deprecated module dependencies
This commit is contained in:
parent
5ee324dd72
commit
456c463a91
@ -86,7 +86,7 @@ $.extend( $.ui, {
|
||||
// Support: IE9 - 10 only
|
||||
// If the <body> is blurred, IE will switch windows, see #9420
|
||||
if ( element && element.nodeName.toLowerCase() !== "body" ) {
|
||||
$( element ).blur();
|
||||
$( element ).trigger( "blur" );
|
||||
}
|
||||
},
|
||||
|
||||
@ -303,14 +303,14 @@ $.fn.extend( {
|
||||
"mousedown";
|
||||
|
||||
return function() {
|
||||
return this.bind( eventType + ".ui-disableSelection", function( event ) {
|
||||
return this.on( eventType + ".ui-disableSelection", function( event ) {
|
||||
event.preventDefault();
|
||||
} );
|
||||
};
|
||||
} )(),
|
||||
|
||||
enableSelection: function() {
|
||||
return this.unbind( ".ui-disableSelection" );
|
||||
return this.off( ".ui-disableSelection" );
|
||||
}
|
||||
} );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user