From 087f804100c0c79274c0e7fb58d1f262d09d37cd Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 26 Apr 2020 19:36:35 +0200 Subject: [PATCH] Clear error after connecting. --- static/sfu.js | 1 + 1 file changed, 1 insertion(+) 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');