Skip to content

Firefly III: a personal finances manager

Fix charts. [skip ci]

James Cole5cd1e7c1004d
diff --git a/public/js/ff/charts.js b/public/js/ff/charts.js
index 0c91277793..7201e1f0cb 100644
--- a/public/js/ff/charts.js
+++ b/public/js/ff/charts.js
@@ -268,19 +268,6 @@ function areaChart(URL, container, options) {
function columnChart(URL, container, options) {
"use strict";
- // find the parent box:
- var cont = $('#' + container);
- var box = cont.parents(".box").first();
- var boxId = box.attr('id');
- if (boxId) {
- var state = getBoxState(boxId);
- if (state == 'closed') {
- console.log('Will not draw columnChart(' + URL + ') because ' + boxId + ' is closed.');
- return;
- }
- }
-
-
options = options || {};
$.getJSON(URL).done(function (data) {