mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-17 07:39:21 +08:00
fix property in disconnect
This commit is contained in:
parent
fb3c28b6aa
commit
604099e097
@ -204,7 +204,7 @@ var VideoChat = {
|
|||||||
break;
|
break;
|
||||||
case "disconnected":
|
case "disconnected":
|
||||||
// First possibility: we disconnected from the peer
|
// First possibility: we disconnected from the peer
|
||||||
if (VideoChat.socket.connect().connected === false) {
|
if (VideoChat.socket.connected === false) {
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user