Skip to content

Commit

Permalink
Changed; trigger open in XHR transports right after starting polling.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jun 13, 2011
1 parent 7ec45b5 commit 1e7b4a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/transports/xhr.js
Expand Up @@ -44,6 +44,7 @@

XHR.prototype.open = function () {
this.get();
this.onOpen();

// we need to make sure the request succeeds since we have no indication
// whether the request opened or not until it succeeded.
Expand Down

0 comments on commit 1e7b4a5

Please sign in to comment.