mirror of
https://github.com/jech/galene.git
synced 2024-12-22 23:35:46 +01:00
Fix undefined disconnectbutton variable.
Commit 8257a7f
"Remove dead variables." was wrong in that it deleted
the 'diconnect' [sic] variable definition, and left the
'disconnectbutton' variable undefined.
This commit is contained in:
parent
6efd6007f1
commit
c52fa75686
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ function getUsername() {
|
|||
function setConnected(connected) {
|
||||
let statspan = document.getElementById('statspan');
|
||||
let userform = document.getElementById('userform');
|
||||
let disconnectbutton = document.getElementById('disconnectbutton');
|
||||
if(connected) {
|
||||
clearError();
|
||||
statspan.textContent = 'Connected';
|
||||
|
|
Loading…
Reference in a new issue