Fixed null reference on resize.

This commit is contained in:
Alexis Lahouze 2013-01-12 22:16:05 +01:00
parent b0f12e9616
commit d6e9d0b4cd

View File

@ -507,7 +507,7 @@ $(window).resize(function() {
window.chart.replot({resetAxes: true}); window.chart.replot({resetAxes: true});
} }
if(window.chart) { if(window.pieChart) {
window.pieChart.replot({resetAxes: true}); window.pieChart.replot({resetAxes: true});
} }
}); });