diff --git a/docs/automation-graph.html b/docs/automation-graph.html index e540705c..4c81912d 100644 --- a/docs/automation-graph.html +++ b/docs/automation-graph.html @@ -1329,7 +1329,7 @@ network.on('click', params => { } else if (params.edges.length === 1) { showEdgeLegend(params.edges[0]); } else if (params.nodes.length === 0 && params.edges.length === 0) { - HIGHLIGHT.state.selectedNode = null; + HIGHLIGHT.setSelectedNode(null); HIGHLIGHT.applyHighlight(); document.getElementById('legend-panel').classList.remove('visible'); }