Skip to content

Commit

Permalink
Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery int…
Browse files Browse the repository at this point in the history
…o SlexAxton-jquerymaster
  • Loading branch information
jeresig committed Oct 25, 2010
2 parents 7e4f88e + a58f8f2 commit a4fc842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jQuery.extend({

// Matches an absolute URL, and saves the domain
var parts = rurl.exec( s.url ),
remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
remote = parts && (parts[1] && parts[1].toLowerCase() !== location.protocol || parts[2].toLowerCase() !== location.host);

// If we're requesting a remote document
// and trying to load JSON or Script with a GET
Expand Down

0 comments on commit a4fc842

Please sign in to comment.