Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

Commit

Permalink
Fix undefined object error on IE
Browse files Browse the repository at this point in the history
  • Loading branch information
mongws committed Sep 5, 2013
1 parent 9719950 commit 10b10fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/bullet.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
// Hard disconnect, inform the user and retry later
delay = delayDefault;
tn = 0;
stream.ondisconnect();
stream && stream.ondisconnect();
setTimeout(function(){init();}, delayMax);
return false;
}
Expand Down

0 comments on commit 10b10fc

Please sign in to comment.