From 5cd1e7c1004d36f3265941e78d603bb64c8e25f4 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 15 May 2016 16:15:17 +0200 Subject: [PATCH] Fix charts. [skip ci] --- public/js/ff/charts.js | 13 ------------- 1 file changed, 13 deletions(-) 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) {