mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Landing pull request 604. Updates bind to on in src/ajax.js. Fixes #10817.
More Details: - https://github.com/jquery/jquery/pull/604 - http://bugs.jquery.com/ticket/10817
This commit is contained in:
parent
3d6237ef8a
commit
327bc07c54
@ -261,7 +261,7 @@ jQuery.fn.extend({
|
||||
// Attach a bunch of functions for handling common AJAX events
|
||||
jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){
|
||||
jQuery.fn[ o ] = function( f ){
|
||||
return this.bind( o, f );
|
||||
return this.on( o, f );
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user