fix property in disconnect

This commit is contained in:
Khush Jammu 2020-06-03 17:50:45 +08:00
parent fb3c28b6aa
commit 604099e097
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}