From b74db27936c166296177f3ffedd9a7ba6fdbd6ca Mon Sep 17 00:00:00 2001 From: Manoj Turaga Date: Wed, 6 Jul 2022 12:08:52 -0500 Subject: [PATCH] Added missing semicolon --- static/javascript/realtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/javascript/realtime.js b/static/javascript/realtime.js index b299e04..35e2c5d 100644 --- a/static/javascript/realtime.js +++ b/static/javascript/realtime.js @@ -380,7 +380,7 @@ function updateHead() { { for (let dataset of charts[chart_id].data.datasets) { - let latest_val = dataset.data[dataset.data.length-1]?.y + let latest_val = dataset.data[dataset.data.length-1]?.y; let head_key = "head-" + chart_id; let header = document.getElementById(head_key); let card_header = header.parentNode;