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:
parent
74cc21952a
commit
9b40fec70a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue