Skip to content
Permalink
Browse files
The extra & was getting gobbled, oops.
  • Loading branch information
jeresig committed Dec 17, 2007
1 parent b721a2f commit 6a25c20f5cdf2eba12d204517598a9e1386ab3a6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ajax.js
@@ -177,8 +177,8 @@ jQuery.extend({

// Replace the =? sequence both in the query string and the data
if ( s.data )
s.data = (s.data + "").replace(jsre, "=" + jsonp);
s.url = s.url.replace(jsre, "=" + jsonp);
s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1");
s.url = s.url.replace(jsre, "=" + jsonp + "$1");

// We need to make sure
// that a JSONP style response is executed properly

0 comments on commit 6a25c20

Please sign in to comment.