mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
Clear error after connecting.
This commit is contained in:
parent
eed3d2aff7
commit
087f804100
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ function setConnected(connected) {
|
||||||
let userform = document.getElementById('userform');
|
let userform = document.getElementById('userform');
|
||||||
let diconnect = document.getElementById('disconnectbutton');
|
let diconnect = document.getElementById('disconnectbutton');
|
||||||
if(connected) {
|
if(connected) {
|
||||||
|
clearError();
|
||||||
statspan.textContent = 'Connected';
|
statspan.textContent = 'Connected';
|
||||||
statspan.classList.remove('disconnected');
|
statspan.classList.remove('disconnected');
|
||||||
statspan.classList.add('connected');
|
statspan.classList.add('connected');
|
||||||
|
|
Loading…
Reference in a new issue