diff --git a/public/js/Room.js b/public/js/Room.js index bcb7f3b..5b85ca5 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -24,7 +24,7 @@ const _PEER = { sendMsg: '', }; -const surveyAvtive = true; +const surveyActive = true; let participantsCount = 0; @@ -996,7 +996,7 @@ function handleRoomClientEvents() { }); rc.on(RoomClient.EVENTS.exitRoom, () => { console.log('Room Client leave room'); - if (surveyAvtive) { + if (surveyActive) { openURL(url.survey); } else { openURL('/newroom');