Do not reconnect, if register-web fails
This commit is contained in:
parent
9b70f7e285
commit
2e35ece72d
1 changed files with 1 additions and 4 deletions
|
@ -277,10 +277,7 @@ function joinRoom() {
|
||||||
"Please use the correct room code your organizer provided you.<br/>" +
|
"Please use the correct room code your organizer provided you.<br/>" +
|
||||||
"To host your own syng powered karaoke events, please download and " +
|
"To host your own syng powered karaoke events, please download and " +
|
||||||
"install <a href='https://github.com/christofsteel/syng' target='_blank'>Syng</a>"
|
"install <a href='https://github.com/christofsteel/syng' target='_blank'>Syng</a>"
|
||||||
if(state.value.joined) {
|
state.socket.disconnect()
|
||||||
state.socket.disconnect()
|
|
||||||
setTimeout(() => connect(), 2000)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue