Commit 934954d9 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #602 from pawl/patch-6

Prevent black space after last filter is removed
parents 5472dd4c 7c911284
...@@ -32,6 +32,7 @@ var AdminFilters = function(element, filtersElement, filterGroups) { ...@@ -32,6 +32,7 @@ var AdminFilters = function(element, filtersElement, filterGroups) {
if($('.filters tr').length == 0) { if($('.filters tr').length == 0) {
$('button', $root).hide(); $('button', $root).hide();
$('a[class=btn]', $root).hide(); $('a[class=btn]', $root).hide();
$('.filters tbody').remove();
} else { } else {
$('button', $root).show(); $('button', $root).show();
} }
......
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