Remove old js iteration

This commit is contained in:
Your Name 2020-01-20 14:45:06 +00:00
parent 58be5ab368
commit c261aa62d3
1 changed files with 1 additions and 3 deletions

View File

@ -118,9 +118,7 @@
this.psi.setMinValue(0); // Prefer setter over gauge.minValue = 0
this.psi.animationSpeed = 32; // set animation speed (32 is default value)
this.psi.set(0); // set actual value
this.maxframes=data.length;
setInterval(this.iterate, 100);
// Set up websocket connection
this.sock = new WebSocket("wss://" + window.location.hostname + "/ws");
this.sock.addEventListener('open', function(event) { this.gotWsOpen(event); });