mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Removed some JS code that was not necessary. [skip ci]
This commit is contained in:
@@ -1,19 +1,4 @@
|
|||||||
/* globals $, categoryID, columnChart, categoryDate */
|
/* globals $, categoryID, columnChart, categoryDate */
|
||||||
$(function () {
|
$(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
if (typeof categoryID !== 'undefined') {
|
|
||||||
// more splits:
|
|
||||||
if ($('#all').length > 0) {
|
|
||||||
columnChart('chart/category/' + categoryID + '/all', 'all');
|
|
||||||
}
|
|
||||||
if ($('#period').length > 0) {
|
|
||||||
columnChart('chart/category/' + categoryID + '/period', 'period');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
if (typeof categoryID !== 'undefined' && typeof categoryDate !== 'undefined') {
|
|
||||||
columnChart('chart/category/' + categoryID + '/period/' + categoryDate, 'period-specific-period');
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
Reference in New Issue
Block a user