diff --git a/src/html/js/entries.js b/src/html/js/entries.js index 6c08452..70c3019 100644 --- a/src/html/js/entries.js +++ b/src/html/js/entries.js @@ -507,7 +507,7 @@ $(window).resize(function() { window.chart.replot({resetAxes: true}); } - if(window.chart) { + if(window.pieChart) { window.pieChart.replot({resetAxes: true}); } });