[call-me] - move github button

This commit is contained in:
Miroslav Pejic
2024-09-14 16:08:26 +02:00
parent 0d45ee43b3
commit 11a929e861
5 changed files with 26 additions and 15 deletions
+2
View File
@@ -10,6 +10,7 @@ const socket = io();
const config = { iceServers: [{ urls: 'stun:stun.l.google.com:19302' }] };
// DOM elements
const githubDiv = document.querySelector('#githubDiv');
const signInPage = document.querySelector('#signInPage');
const usernameIn = document.querySelector('#usernameIn');
const signInBtn = document.querySelector('#signInBtn');
@@ -164,6 +165,7 @@ function handleSignIn(data) {
if (!success) {
handleError('Username already in use. Try a different username.');
} else {
githubDiv.style.display = 'none';
signInPage.style.display = 'none';
roomPage.style.display = 'block';