Fix inablity to remove creative common filter

This commit is contained in:
syeopite 2021-10-27 06:55:28 -07:00
parent d2d755a692
commit 9ef5c47a5e
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -44,7 +44,7 @@
<li class="pure-menu-item">
<% if operators.fetch("features", "all").includes?(feature) %>
<% if operators["features"].split(",").size == 1 %>
<a style="color: inherit;" href="<%= base_url + "#{filter_params.gsub(/&features=[a-z]+/, "")}"%>">
<a style="color: inherit;" href="<%= base_url + "#{filter_params.gsub(/&features=[a-z_]+/, "")}"%>">
<b><%= translate(locale, feature) %></b>
<i class="remove-filter icon ion-md-close"></i>
</a>