1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

web: better checks

This commit is contained in:
Steffen Vogel 2017-05-07 22:56:27 +02:00
parent 74cc21952a
commit 9b40fec70a

View file

@ -183,7 +183,7 @@ function updatePlot()
// add data to arrays
for (var i = 0; i < plotData.length; i++) {
var seriesOptions = nodes
var seriesOptions = nodes;
data[i] = {
data : plotData[i],
@ -266,7 +266,7 @@ function wsConnect(node)
for (var j = 0; j < msgs.length; j++) {
var msg = msgs[j];
if (msg.id != currentNode.id)
if (msg.id !== currentNode.id)
continue;
// add empty arrays for data series