Skip to content

Firefly III: a personal finances manager

Removed some JS code that was not necessary. [skip ci]

James Cole73566e11c0e3
diff --git a/public/js/ff/categories/index.js b/public/js/ff/categories/index.js
index fd6f59934c..6bfe805c1f 100644
--- a/public/js/ff/categories/index.js
+++ b/public/js/ff/categories/index.js
@@ -1,19 +1,4 @@
/* globals $, categoryID, columnChart, categoryDate */
$(function () {
"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');
- }
-
-
});
\ No newline at end of file