aboutsummaryrefslogtreecommitdiffstats
path: root/src/transports/jsonp.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/jsonp.js')
-rw-r--r--src/transports/jsonp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/jsonp.js b/src/transports/jsonp.js
index a685bb196..f16b394ba 100644
--- a/src/transports/jsonp.js
+++ b/src/transports/jsonp.js
@@ -14,7 +14,7 @@ jQuery.ajaxSettings.jsonpCallback = function() {
// 2) sneakily ensure transportDataType is json
// 3) ensure options jsonp is always provided so that jsonp requests are always
// json request with the jsonp option set
-jQuery.xhr.prefilter("json jsonp", function(s) {
+jQuery.ajax.prefilter("json jsonp", function(s) {
var transportDataType = s.dataTypes[ 0 ];