the button is visible even if there are no active facets

Created on 28 September 2022, over 2 years ago
Updated 27 January 2023, almost 2 years ago

Problem/Motivation

the button is visible even if there are no active facets

Steps to reproduce

add any form to the page with

<input  type="radio" checked="checked" >
<input  type="checkbox" checked="checked" >

Proposed resolution

in facets_reset_button.js it bypasses all checkboxes on the page
var checked = $("input[checked='checked']");

should be changed to react only to facet checkboxes
var checked = $("input[checked='checked'].facets-checkbox");

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine proweb.ua

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024