mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +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) {
|
function setConnected(connected) {
|
||||||
let statspan = document.getElementById('statspan');
|
let statspan = document.getElementById('statspan');
|
||||||
let userform = document.getElementById('userform');
|
let userform = document.getElementById('userform');
|
||||||
|
let disconnectbutton = document.getElementById('disconnectbutton');
|
||||||
if(connected) {
|
if(connected) {
|
||||||
clearError();
|
clearError();
|
||||||
statspan.textContent = 'Connected';
|
statspan.textContent = 'Connected';
|
||||||
|
|
Loading…
Reference in a new issue