Merge pull request #3031 from AHOHNMYC/fix-filter-checkbox

Fix filter checkbox
This commit is contained in:
Samantaz Fox
2022-04-16 13:21:19 +02:00
committed by GitHub

View File

@ -106,7 +106,7 @@ module Invidious::Frontend::SearchFilters
{% feature = value.underscore %}
str << "\t\t\t\t\t\t<div>"
str << "<input type='checkbox' name='features' id='filter-features-{{feature}}' value='{{feature}}'"
str << "<input type='checkbox' name='features' id='filter-feature-{{feature}}' value='{{feature}}'"
str << " checked" if value.{{feature}}?
str << '>'