typo in JS mesh websocket data

This commit is contained in:
Laura Klünder 2023-11-25 19:04:14 +01:00
parent 3a45af8837
commit fabfe0c54f

View file

@ -11,7 +11,7 @@
{% if node_names %} {% if node_names %}
const node_names = JSON.parse(document.getElementById('node-names').textContent); const node_names = JSON.parse(document.getElementById('node-names').textContent);
{% endif %} {% endif %}
{% if node_names %} {% if nodes_xyz %}
const nodes_xyz = JSON.parse(document.getElementById('nodes-xyz').textContent); const nodes_xyz = JSON.parse(document.getElementById('nodes-xyz').textContent);
const nodes_distances = {} const nodes_distances = {}
{% endif %} {% endif %}