Fixed null reference on resize.
This commit is contained in:
parent
b0f12e9616
commit
d6e9d0b4cd
@ -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});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user