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, {
86
86
// Support: IE9 - 10 only
87
87
// If the <body> is blurred, IE will switch windows, see #9420
88
88
if ( element && element . nodeName . toLowerCase ( ) !== "body" ) {
89
- $ ( element ) . blur ( ) ;
89
+ $ ( element ) . trigger ( "blur" ) ;
90
90
}
91
91
} ,
92
92
@@ -303,14 +303,14 @@ $.fn.extend( {
303
303
"mousedown" ;
304
304
305
305
return function ( ) {
306
- return this . bind ( eventType + ".ui-disableSelection" , function ( event ) {
306
+ return this . on ( eventType + ".ui-disableSelection" , function ( event ) {
307
307
event . preventDefault ( ) ;
308
308
} ) ;
309
309
} ;
310
310
} ) ( ) ,
311
311
312
312
enableSelection : function ( ) {
313
- return this . unbind ( ".ui-disableSelection" ) ;
313
+ return this . off ( ".ui-disableSelection" ) ;
314
314
}
315
315
} ) ;
316
316
You can’t perform that action at this time.
0 commit comments