diff options
Diffstat (limited to 'src/ajax/jsonp.js')
-rw-r--r-- | src/ajax/jsonp.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js index 0588475b6..f5742d998 100644 --- a/src/ajax/jsonp.js +++ b/src/ajax/jsonp.js @@ -12,10 +12,9 @@ jQuery.ajaxSetup({ }); // Detect, normalize options and install callbacks for jsonp requests -// (dataIsString is used internally) -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, dataIsString ) { +jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, dataIsString /* internal */ ) { - dataIsString = ( typeof( s.data ) === "string" ); + dataIsString = ( typeof s.data === "string" ); if ( s.dataTypes[ 0 ] === "jsonp" || originalSettings.jsonpCallback || |