File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ $.extend( $.ui, {
8686 // Support: IE9 - 10 only
8787 // If the <body> is blurred, IE will switch windows, see #9420
8888 if ( element && element . nodeName . toLowerCase ( ) !== "body" ) {
89- $ ( element ) . blur ( ) ;
89+ $ ( element ) . trigger ( "blur" ) ;
9090 }
9191 } ,
9292
@@ -303,14 +303,14 @@ $.fn.extend( {
303303 "mousedown" ;
304304
305305 return function ( ) {
306- return this . bind ( eventType + ".ui-disableSelection" , function ( event ) {
306+ return this . on ( eventType + ".ui-disableSelection" , function ( event ) {
307307 event . preventDefault ( ) ;
308308 } ) ;
309309 } ;
310310 } ) ( ) ,
311311
312312 enableSelection : function ( ) {
313- return this . unbind ( ".ui-disableSelection" ) ;
313+ return this . off ( ".ui-disableSelection" ) ;
314314 }
315315} ) ;
316316
You can’t perform that action at this time.
0 commit comments