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
1 changed files with 1 additions and 1 deletions

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>