Skip to content

Commit

Permalink
Merge pull request #248 from Nimo-19/fix_checkbox_view_criteria_remove
Browse files Browse the repository at this point in the history
fix criteria_remove on checkbox view
  • Loading branch information
avoinea committed Oct 16, 2023
2 parents e3f5f19 + c418745 commit b25cbe5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eea/facetednavigation/widgets/checkbox/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,11 @@ Faceted.CheckboxesWidget.prototype = {
criteria_remove: function (value, element) {
// Remove all
if (!value) {
this.elements.attr("checked", false);
this.do_query();
this.element.each((_, e) => (e.checked = false));
} else {
element.attr("checked", false);
this.do_query();
element.each((_, e) => (e.checked = false));
}
this.do_query();
},

count: function (sortcountable) {
Expand Down

0 comments on commit b25cbe5

Please sign in to comment.