Skip to content
Permalink
Browse files

Fixed a typo with commit [6457].

  • Loading branch information
jeresig committed Jul 19, 2009
1 parent 7175b2f commit 81985c7878db2dd4dc31a3a9f8028eaae314ec24
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -187,7 +187,7 @@ jQuery.extend({
// Handle JSONP Parameter Callbacks
if ( s.dataType == "jsonp" ) {
if ( type == "GET" ) {
if ( jsre.test( !s.url ) )
if ( !jsre.test( s.url ) )
s.url += (/\?/.test( s.url ) ? "&" : "?") + (s.jsonp || "callback") + "=?";
} else if ( !s.data || !jsre.test(s.data) )
s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?";

0 comments on commit 81985c7

Please sign in to comment.
You can’t perform that action at this time.