diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:03:32 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:57 -0400 |
commit | 456c463a9155b929a63f502c9cdc038c1a40e570 (patch) | |
tree | 925672b0987a9780c9a5d8f1dce4ca802400e5dc /ui/core.js | |
parent | 5ee324dd72dce71e09b80f5f1b9548683a54047c (diff) | |
download | jquery-ui-456c463a9155b929a63f502c9cdc038c1a40e570.tar.gz jquery-ui-456c463a9155b929a63f502c9cdc038c1a40e570.zip |
Core: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'ui/core.js')
-rw-r--r-- | ui/core.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/core.js b/ui/core.js index 0487df0a0..9ac196d38 100644 --- a/ui/core.js +++ b/ui/core.js @@ -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" ); } } ); |