add {} for readability

This commit is contained in:
Alexander Leibzon 2015-01-25 15:29:45 +02:00
parent d83849a1b5
commit 4a8a4482fc

View File

@ -143,11 +143,13 @@
}
});
if (!hasTotalsAlready) this.addSeries({
if (!hasTotalsAlready) {
this.addSeries({
data: _.values(data),
type: 'line',
name: 'Total'
}, false)
}
this.redraw();
}