Fixed null reference on resize.

This commit is contained in:
Alexis Lahouze 2013-01-12 22:16:05 +01:00
parent b0f12e9616
commit d6e9d0b4cd
1 changed files with 1 additions and 1 deletions

View File

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