From 24b63abf2f2e3d57fb0e941946aa09d32cdb7f00 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 22 Nov 2017 21:18:55 +0100 Subject: [PATCH] Fix Javascript [skip ci] --- public/js/ff/charts.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/js/ff/charts.js b/public/js/ff/charts.js index c4d42ae173..03b8189cb9 100644 --- a/public/js/ff/charts.js +++ b/public/js/ff/charts.js @@ -88,9 +88,7 @@ const verticalLinePlugin = { afterDatasetsDraw: function (chart, easing) { if (chart.config.lineAtIndex) { - chart.config.lineAtIndex.forEach(pointIndex = > this.renderVerticalLine(chart, pointIndex) - ) - ; + chart.config.lineAtIndex.forEach(pointIndex => this.renderVerticalLine(chart, pointIndex)); } } };