Permalink
Browse files

Fix undefined object error on IE

  • Loading branch information...
1 parent 9719950 commit 10b10fc429a6c0326cf7e340111cc7e404afbf8d @mongws mongws committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 priv/bullet.js
View
@@ -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;
}

0 comments on commit 10b10fc

Please sign in to comment.