Commit fed81315 authored by git's avatar git Committed by StryKaizer

Issue #2950884 by RumyanaRuseva: Checkboxes are not disabled in disableFacet()...

Issue #2950884 by RumyanaRuseva: Checkboxes are not disabled in disableFacet() due to incorrect selector
parent 6176adf8
......@@ -63,8 +63,8 @@
*/
Drupal.facets.disableFacet = function ($facet) {
$facet.addClass('facets-disabled');
$('input.facets-checkbox').click(Drupal.facets.preventDefault);
$('input.facetapi-checkbox', $facet).attr('disabled', true);
$('input.facets-checkbox', $facet).click(Drupal.facets.preventDefault);
$('input.facets-checkbox', $facet).attr('disabled', true);
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment