js fix
This commit is contained in:
@@ -180,8 +180,8 @@ function initUI() {
|
|||||||
//getting server hostname
|
//getting server hostname
|
||||||
getServerIPandHostname()
|
getServerIPandHostname()
|
||||||
|
|
||||||
LaplaceVar.ui.joinForm.onsubmit = async e => {
|
// LaplaceVar.ui.joinForm.onsubmit = async e => {
|
||||||
e.preventDefault();
|
// e.preventDefault();
|
||||||
LaplaceVar.roomID = LaplaceVar.ui.inputRoomID.value;
|
LaplaceVar.roomID = LaplaceVar.ui.inputRoomID.value;
|
||||||
LaplaceVar.barrierIP = LaplaceVar.ui.barrierIP.value;
|
LaplaceVar.barrierIP = LaplaceVar.ui.barrierIP.value;
|
||||||
|
|
||||||
@@ -195,8 +195,8 @@ function initUI() {
|
|||||||
else {
|
else {
|
||||||
window.history.pushState('', '', getJoinUrl(LaplaceVar.roomID,LaplaceVar.barrierIP));
|
window.history.pushState('', '', getJoinUrl(LaplaceVar.roomID,LaplaceVar.barrierIP));
|
||||||
}
|
}
|
||||||
await doJoin(LaplaceVar.roomID,LaplaceVar.barrierIP);
|
doJoin(LaplaceVar.roomID,LaplaceVar.barrierIP);
|
||||||
};
|
// };
|
||||||
|
|
||||||
LaplaceVar.ui.btnStream.onclick = async () => {
|
LaplaceVar.ui.btnStream.onclick = async () => {
|
||||||
window.history.pushState('', '', getStreamUrl());
|
window.history.pushState('', '', getStreamUrl());
|
||||||
|
|||||||
Reference in New Issue
Block a user