diff --git a/combo/apps/dataviz/static/js/chartngcell.js b/combo/apps/dataviz/static/js/chartngcell.js index 71cf3b4f..99fc71ba 100644 --- a/combo/apps/dataviz/static/js/chartngcell.js +++ b/combo/apps/dataviz/static/js/chartngcell.js @@ -1,6 +1,6 @@ function get_graph_querystring(extra_context, width=undefined) { qs = []; - if ($('#chart-filters')) { + if ($('#chart-filters').length) { qs.push($('#chart-filters').serialize()); qs.push('filters_cell_id=' + $('body').data('filters-cell-id')); }