Skip to content

Commit

Permalink
Default callbackContext to the $.extended ajax options for 1.3.2 comp…
Browse files Browse the repository at this point in the history
…atibility, per #5654.
  • Loading branch information
dmethvin committed Dec 15, 2009
1 parent 2d74965 commit 7eff9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Expand Up @@ -199,7 +199,7 @@ jQuery.extend({
var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);

var jsonp, status, data,
callbackContext = s.context || window,
callbackContext = s.context || s,
type = s.type.toUpperCase();

// convert data if not already a string
Expand Down

0 comments on commit 7eff9d9

Please sign in to comment.