Skip to content

Commit

Permalink
IE only cleans up URL for .href
Browse files Browse the repository at this point in the history
  • Loading branch information
mastahyeti authored and mislav committed Dec 12, 2014
1 parent 00a674d commit f417169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@
if (!settings.crossDomain) {
urlAnchor = document.createElement('a')
urlAnchor.href = settings.url
urlAnchor.href = urlAnchor.href
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host)
}

Expand Down

0 comments on commit f417169

Please sign in to comment.