Fixed null reference on resize.
This commit is contained in:
1 parent
b0f12e9616
commit
d6e9d0b4cd
1 file changed
+1
-1
@@ -507,7 +507,7 @@ $(window).resize(function() {
|
||||
window.chart.replot({resetAxes: true});
|
||||
}
|
||||
|
||||
if(window.chart) {
|
||||
if(window.pieChart) {
|
||||
window.pieChart.replot({resetAxes: true});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user