From 141fb67653852211bd7d19b509b7c4900eb54514 Mon Sep 17 00:00:00 2001 From: frederik Date: Sat, 16 Mar 2024 18:07:56 +0100 Subject: [PATCH] fix: minichart only worked first time pt2 --- scripts/todays_detections.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 0045fbe..efb3ce5 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -777,6 +777,7 @@ window.addEventListener('scroll', function() { // Loop through all chart elements and remove them charts.forEach(function(chart) { chart.parentNode.removeChild(chart); + window.chartWindow = undefined; }); });