fix: minichart only worked first time pt2
This commit is contained in:
@@ -777,6 +777,7 @@ window.addEventListener('scroll', function() {
|
|||||||
// Loop through all chart elements and remove them
|
// Loop through all chart elements and remove them
|
||||||
charts.forEach(function(chart) {
|
charts.forEach(function(chart) {
|
||||||
chart.parentNode.removeChild(chart);
|
chart.parentNode.removeChild(chart);
|
||||||
|
window.chartWindow = undefined;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user