aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-10-25 17:54:27 -0700
committerJohn Resig <jeresig@gmail.com>2010-10-25 17:54:27 -0700
commitde58db0cdf4dc08db8683ad6cd0035c5d64b26ac (patch)
treefafcbc5671beb1bda40ad597ae6152a21aac1e30 /src/ajax.js
parent9b97599fa4d615a91d1605d9c664c50f576911ce (diff)
downloadjquery-de58db0cdf4dc08db8683ad6cd0035c5d64b26ac.tar.gz
jquery-de58db0cdf4dc08db8683ad6cd0035c5d64b26ac.zip
Backing out fix for #5803 from 3b50eaca2cd0b1439235e39c4e98a6438e8f55b2.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ajax.js b/src/ajax.js
index b39bc8ddb..ff293da6a 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -208,12 +208,6 @@ jQuery.extend({
s.data = jQuery.param( s.data, s.traditional );
}
- // If the jsonpCallback has been set, we can assume that dataType is jsonp
- // Ticket #5803
- if ( s.jsonpCallback ) {
- s.dataType = "jsonp";
- }
-
// Handle JSONP Parameter Callbacks
if ( s.dataType === "jsonp" ) {
if ( type === "GET" ) {