mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some JS cleanup.
This commit is contained in:
@@ -110,9 +110,8 @@ function updateIncome() {
|
|||||||
|
|
||||||
function updateRanges() {
|
function updateRanges() {
|
||||||
"use strict";
|
"use strict";
|
||||||
/**
|
|
||||||
* Update all ranges.
|
|
||||||
*/
|
|
||||||
var sum = 0;
|
var sum = 0;
|
||||||
$('input[type="range"]').each(function (i, v) {
|
$('input[type="range"]').each(function (i, v) {
|
||||||
// get some values:
|
// get some values:
|
||||||
|
@@ -3,6 +3,7 @@ google.setOnLoadCallback(drawChart);
|
|||||||
|
|
||||||
|
|
||||||
function drawChart() {
|
function drawChart() {
|
||||||
|
"use strict";
|
||||||
googleLineChart('chart/account/frontpage', 'accounts-chart');
|
googleLineChart('chart/account/frontpage', 'accounts-chart');
|
||||||
googlePieChart('chart/bill/frontpage', 'bills-chart');
|
googlePieChart('chart/bill/frontpage', 'bills-chart');
|
||||||
googleStackedColumnChart('chart/budget/frontpage', 'budgets-chart');
|
googleStackedColumnChart('chart/budget/frontpage', 'budgets-chart');
|
||||||
|
Reference in New Issue
Block a user