Skip to content

Commit

Permalink
Merge pull request #132 from asdfryan/master
Browse files Browse the repository at this point in the history
Issue 83 fix: IE9/10 error
  • Loading branch information
rauchg committed Mar 5, 2013
2 parents 5cdcb47 + 0435d1c commit deaa672
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/transports/polling-xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ Request.prototype.onError = function(err){
*/

Request.prototype.cleanup = function(){
if ('undefined' == typeof this.xhr ) {
return;
}
// xmlhttprequest
this.xhr.onreadystatechange = empty;

Expand Down

0 comments on commit deaa672

Please sign in to comment.