mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tests: Remove core event/alias and deprecated module dependencies
This commit is contained in:
parent
c79bc7f040
commit
27d746cdd6
@ -21,11 +21,11 @@ exports.onFocus = function( element, onFocus ) {
|
|||||||
if ( !event.originalEvent ) {
|
if ( !event.originalEvent ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
element.unbind( "focus", fn );
|
element.off( "focus", fn );
|
||||||
onFocus();
|
onFocus();
|
||||||
};
|
};
|
||||||
|
|
||||||
element.bind( "focus", fn )[ 0 ].focus();
|
element.on( "focus", fn )[ 0 ].focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
return exports;
|
return exports;
|
||||||
|
Loading…
Reference in New Issue
Block a user