mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-31 18:54:58 +00:00
This should fix most Javascript errors.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
/** global: accounting */
|
||||
|
||||
var defaultChartOptions = {
|
||||
scales: {
|
||||
xAxes: [
|
||||
@@ -20,7 +22,7 @@ var defaultChartOptions = {
|
||||
yAxes: [{
|
||||
display: true,
|
||||
ticks: {
|
||||
callback: function (tickValue, index, ticks) {
|
||||
callback: function (tickValue) {
|
||||
"use strict";
|
||||
return accounting.formatMoney(tickValue);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user