dataviz: fix jquery element presence test (#66947)
This commit is contained in:
parent
e9d2e6c349
commit
6807e032a7
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue