mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-25 18:30:55 -06:00
Fix charts in IE
since IE apparently doesn't support arrow function expression (and throws a syntax error)
This commit is contained in:
parent
f9fc9b1889
commit
495158b9c9
4
public/js/ff/charts.js
vendored
4
public/js/ff/charts.js
vendored
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user