summaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-02-19 20:54:32 +0100
committerLoïc Hoguin <[email protected]>2014-02-19 20:54:32 +0100
commit2df0f574ba001f6906fd36ee79915525f8ed3630 (patch)
treedfc27336317660084af117f035386e12fe547477 /priv
parent5bf494144cf4f86e85cd80bfd8c7aa495a4e2209 (diff)
parent10b10fc429a6c0326cf7e340111cc7e404afbf8d (diff)
downloadbullet-2df0f574ba001f6906fd36ee79915525f8ed3630.tar.gz
bullet-2df0f574ba001f6906fd36ee79915525f8ed3630.tar.bz2
bullet-2df0f574ba001f6906fd36ee79915525f8ed3630.zip
Merge branch 'fix-ie' of git://github.com/n11/bullet
Diffstat (limited to 'priv')
-rw-r--r--priv/bullet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index 26a1fc5..3d32679 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -245,7 +245,7 @@
// Hard disconnect, inform the user and retry later
delay = delayDefault;
tn = 0;
- stream.ondisconnect();
+ stream && stream.ondisconnect();
setTimeout(function(){init();}, delayMax);
return false;
}