Added shiny new loading styles. [skip ci]

This commit is contained in:
James Cole
2017-01-07 08:08:37 +01:00
parent bd3c8119ba
commit 6d398a2edf
8 changed files with 130 additions and 49 deletions

View File

@@ -244,8 +244,7 @@ function drawAChart(URI, container, chartType, options, colorData) {
$.getJSON(URI).done(function (data) {
$('#' + container).removeClass('general-chart-error');
if (data.labels.length === 0) {
// remove the chart container + parent
var holder = $('#' + container).parent().parent();