Commit 8d8bd41e authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge commit '4359c79a'

parents 5f1c494b 4359c79a
......@@ -402,8 +402,8 @@
$("body").on("click", ".removeFilterBtn", function () {
var className = $(this).parent().parent().attr("class");
var filterId = "#panel_" + className;
var filter = className.replace("gm_", "gm:").replace("_id", "");
var filterId = "#panel_" + className.replace(" col-xs-12", "");
var filter = className.replace("gm_", "gm:").replace("_id", "").replace(" col-xs-12", "");
delete jsonData[filter];
$(filterId).remove();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment