Commit 087f8041 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Clear error after connecting.

parent eed3d2af
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment