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

Remove dead variables.

This commit is contained in:
Juliusz Chroboczek 2020-05-11 02:51:44 +02:00
parent 31a5a8e8f1
commit 8257a7ff19

View file

@ -19,7 +19,6 @@ let permissions = {};
function toHex(array) { function toHex(array) {
let a = new Uint8Array(array); let a = new Uint8Array(array);
let s = '';
function hex(x) { function hex(x) {
let h = x.toString(16); let h = x.toString(16);
if(h.length < 2) if(h.length < 2)
@ -94,7 +93,6 @@ 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 diconnect = document.getElementById('disconnectbutton');
if(connected) { if(connected) {
clearError(); clearError();
statspan.textContent = 'Connected'; statspan.textContent = 'Connected';