Skip to content

Firefly III: a personal finances manager

Small JS fix. [skip ci]

James Cole3e93ed0a1720
diff --git a/public/js/reports.js b/public/js/reports.js
index c8b46cfcbb..0b6dcacad4 100644
--- a/public/js/reports.js
+++ b/public/js/reports.js
@@ -1,14 +1,16 @@
if (typeof(google) != 'undefined') {
google.setOnLoadCallback(drawChart);
- function drawChart() {
- googleColumnChart('chart/reports/income-expenses/' + year, 'income-expenses-chart');
- googleColumnChart('chart/reports/income-expenses-sum/' + year, 'income-expenses-sum-chart')
- googleStackedColumnChart('chart/budgets/spending/' + year, 'budgets');
- }
}
+function drawChart() {
+ googleColumnChart('chart/reports/income-expenses/' + year, 'income-expenses-chart');
+ googleColumnChart('chart/reports/income-expenses-sum/' + year, 'income-expenses-sum-chart')
+
+ googleStackedColumnChart('chart/budgets/spending/' + year, 'budgets');
+}
+
$(function () {
$('.openModal').on('click', openModal);
includeSharedToggle();