diff --git a/assets/classroom/script.js b/assets/classroom/script.js index b02aff0..597f388 100644 --- a/assets/classroom/script.js +++ b/assets/classroom/script.js @@ -74,13 +74,11 @@ function onConnected() { JSON.stringify({sender: username, type: 'JOIN'}) ) - connectingElement.classList.add('hidden'); } function onError(error) { - connectingElement.textContent = 'Could not connect to WebSocket server. Please refresh this page to try again!'; - connectingElement.style.color = 'red'; + console.log(error) }