Commit 8257a7ff authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove dead variables.

parent 31a5a8e8
...@@ -19,7 +19,6 @@ let permissions = {}; ...@@ -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() { ...@@ -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';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment