Skip to content

Firefly III: a personal finances manager

Some JS cleanup.

James Cole42799b9273c3
diff --git a/public/js/budgets.js b/public/js/budgets.js
index e49c874624..e558d3dcce 100644
--- a/public/js/budgets.js
+++ b/public/js/budgets.js
@@ -110,9 +110,8 @@ function updateIncome() {
function updateRanges() {
"use strict";
- /**
- * Update all ranges.
- */
+
+
var sum = 0;
$('input[type="range"]').each(function (i, v) {
// get some values:
diff --git a/public/js/index.js b/public/js/index.js
index d1291a77a4..6ca893aa6b 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -3,6 +3,7 @@ google.setOnLoadCallback(drawChart);
function drawChart() {
+ "use strict";
googleLineChart('chart/account/frontpage', 'accounts-chart');
googlePieChart('chart/bill/frontpage', 'bills-chart');
googleStackedColumnChart('chart/budget/frontpage', 'budgets-chart');