Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop

* 'develop' of https://github.com/firefly-iii/firefly-iii:
  Fix charts in IE
This commit is contained in:
James Cole
2018-01-08 20:20:14 +01:00

View File

@@ -88,7 +88,9 @@ const verticalLinePlugin = {
afterDatasetsDraw: function (chart, easing) {
if (chart.config.lineAtIndex) {
chart.config.lineAtIndex.forEach(pointIndex => this.renderVerticalLine(chart, pointIndex));
chart.config.lineAtIndex.forEach(function(pointIndex) {
this.renderVerticalLine(chart, pointIndex);
}, this);
}
}
};