fix: minichart only worked first time pt2

This commit is contained in:
frederik
2024-03-16 18:07:56 +01:00
parent 086fbf65a6
commit 141fb67653
+1
View File
@@ -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;
});
});