mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
The extra & was getting gobbled, oops.
This commit is contained in:
parent
b721a2f472
commit
6a25c20f5c
@ -177,8 +177,8 @@ jQuery.extend({
|
|||||||
|
|
||||||
// Replace the =? sequence both in the query string and the data
|
// Replace the =? sequence both in the query string and the data
|
||||||
if ( s.data )
|
if ( s.data )
|
||||||
s.data = (s.data + "").replace(jsre, "=" + jsonp);
|
s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1");
|
||||||
s.url = s.url.replace(jsre, "=" + jsonp);
|
s.url = s.url.replace(jsre, "=" + jsonp + "$1");
|
||||||
|
|
||||||
// We need to make sure
|
// We need to make sure
|
||||||
// that a JSONP style response is executed properly
|
// that a JSONP style response is executed properly
|
||||||
|
Loading…
Reference in New Issue
Block a user