Commit ff1da5e9db5aaaa6c4511f167915883d25cbe6d1
1 parent
122b0e50
-Empty filters removed
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
frontend/web/js/filter.js
... | ... | @@ -72,9 +72,10 @@ function priceRequest(link){ |
72 | 72 | data: {info:filter,category:id}, |
73 | 73 | success: function(result){ |
74 | 74 | if(result=='0'){ |
75 | - $(link).addClass('disabled-link'); | |
76 | - tag.find('input').prop( "disabled", true ); | |
77 | - $(link).find("span").html('('+result+')'); | |
75 | + $(link).parent().parent().parent().remove(); | |
76 | +// $(link).addClass('disabled-link'); | |
77 | +// tag.find('input').prop( "disabled", true ); | |
78 | +// $(link).find("span").html('('+result+')'); | |
78 | 79 | } else { |
79 | 80 | $(link).removeClass('disabled-link'); |
80 | 81 | tag.find('input').prop( "disabled", false ); | ... | ... |