We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 268d51d commit 9b8fa3fCopy full SHA for 9b8fa3f
components/RefinementList.js
@@ -24,20 +24,16 @@ class RefinementList extends React.Component {
24
}
25
26
var parent = e.target;
27
- var checkboxInLabel = false;
28
29
while (parent !== e.currentTarget) {
30
if (parent.tagName === 'LABEL' && parent.querySelector('input[type="checkbox"]')) {
31
- checkboxInLabel = true;
32
return;
33
34
35
parent = parent.parentNode;
36
37
38
- if (checkboxInLabel === false) {
39
- this.refine(value);
40
- }
+ this.refine(value);
41
42
43
render() {
0 commit comments