diff --git a/static/sfu.js b/static/sfu.js index f6a8e86..f70c403 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -87,6 +87,7 @@ function setConnected(connected) { let userform = document.getElementById('userform'); let diconnect = document.getElementById('disconnectbutton'); if(connected) { + clearError(); statspan.textContent = 'Connected'; statspan.classList.remove('disconnected'); statspan.classList.add('connected');