Remove old js iteration
This commit is contained in:
parent
58be5ab368
commit
c261aa62d3
|
@ -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); });
|
||||
|
|
Loading…
Reference in New Issue