diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2011-11-17 15:02:38 -0500 |
---|---|---|
committer | timmywil <timmywillisn@gmail.com> | 2011-11-17 15:02:38 -0500 |
commit | 327bc07c54526979527f9622c99efdcc8c715f7a (patch) | |
tree | 7be9f1778f9a4fcadde2d0987d4d9170dd7c163f /src/ajax.js | |
parent | 3d6237ef8aff8a31ace3e956e2700aa11e3da752 (diff) | |
download | jquery-327bc07c54526979527f9622c99efdcc8c715f7a.tar.gz jquery-327bc07c54526979527f9622c99efdcc8c715f7a.zip |
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
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index fb5f08c1d..bb64b6863 100644 --- a/src/ajax.js +++ b/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 ); }; }); |