fix property in disconnect
This commit is contained in:
parent
fb3c28b6aa
commit
604099e097
|
@ -204,7 +204,7 @@ var VideoChat = {
|
|||
break;
|
||||
case "disconnected":
|
||||
// First possibility: we disconnected from the peer
|
||||
if (VideoChat.socket.connect().connected === false) {
|
||||
if (VideoChat.socket.connected === false) {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue