mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
style adherence
This commit is contained in:
parent
b0ea80e9fd
commit
2d1247a413
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user