Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Updates bind to on in src/ajax.js. Fixes #10817 #604

Closed
wants to merge 1 commit into from

2 participants

Rick Waldron Timmy Willison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 17, 2011
Rick Waldron rwaldron Updates bind to on in src/ajax.js. Fixes #10817 926d53c
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/ajax.js
2  src/ajax.js
@@ -261,7 +261,7 @@ jQuery.fn.extend({
261 261 // Attach a bunch of functions for handling common AJAX events
262 262 jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){
263 263 jQuery.fn[ o ] = function( f ){
264   - return this.bind( o, f );
  264 + return this.on( o, f );
265 265 };
266 266 });
267 267

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.