Skip to content
Permalink
Browse files

Landing pull request 604. Updates bind to on in src/ajax.js. Fixes #1…

…0817.

More Details:
 - #604
 - http://bugs.jquery.com/ticket/10817
  • Loading branch information
rwaldron authored and timmywil committed Nov 17, 2011
1 parent 3d6237e commit 327bc07c54526979527f9622c99efdcc8c715f7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -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 );
};
});

0 comments on commit 327bc07

Please sign in to comment.
You can’t perform that action at this time.