From d6e9d0b4cdecbaff7bb2fe0e878fa4e56f68bc43 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 12 Jan 2013 22:16:05 +0100 Subject: [PATCH] Fixed null reference on resize. --- src/html/js/entries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); } });