aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/jsonp.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/jsonp.js')
-rw-r--r--src/ajax/jsonp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js
index 4340d9acc..7b2ac4929 100644
--- a/src/ajax/jsonp.js
+++ b/src/ajax/jsonp.js
@@ -41,7 +41,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
if ( replaceInUrl ) {
s.url = url.replace( rjsonp, "$1" + callbackName );
} else if ( replaceInData ) {
- s.data = data.replace( rjsonp,"$1" + callbackName );
+ s.data = data.replace( rjsonp, "$1" + callbackName );
} else if ( hasCallback ) {
s.url += ( rquestion.test( url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
}