mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 17:02:06 -05:00
Fix charts in IE
since IE apparently doesn't support arrow function expression (and throws a syntax error)
This commit is contained in:
1 parent
f9fc9b1889
commit
495158b9c9
1 file changed
+3
-1
Vendored
+3
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user