summaryrefslogtreecommitdiff
path: root/jarmon/jarmon.js
diff options
context:
space:
mode:
Diffstat (limited to 'jarmon/jarmon.js')
-rw-r--r--jarmon/jarmon.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index 5867274..38a49cb 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -1229,8 +1229,10 @@ jarmon.buildTabbedChartUi = function ($chartTemplate, chartRecipes,
{chart: chart},
function(e) {
var chart = e.data.chart;
- new jarmon.ChartEditor(
- chart.template.find('.graph-legend'), chart).draw();
+ var editor = new jarmon.ChartEditor(
+ chart.template.find('.graph-legend'),
+ chart);
+ editor.draw();
}
);