Skip to content

Commit

Permalink
Merge pull request #7 from fidian/master
Browse files Browse the repository at this point in the history
I had the logic backwards with checking this.status
  • Loading branch information
eligrey committed Apr 15, 2013
2 parents 11404ca + 56783fa commit d92a354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmxdr-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if (this.JSON && (!JSON.stringify || !JSON.parse))

req.onreadystatechange = function() {
if (this.readyState == 4) {
if (!this.status) {
if (this.status) {
function getResponseHeader(header) {
return req.getResponseHeader(header)
}
Expand Down

0 comments on commit d92a354

Please sign in to comment.