1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Clear error after connecting.

This commit is contained in:
Juliusz Chroboczek 2020-04-26 19:36:35 +02:00
parent eed3d2aff7
commit 087f804100

View file

@ -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');