Index: /home/steven/public_html/fresh/houseofchoo/platform/sites/all/modules/contributions/context/context_contrib/context_contrib.js index 166b932..6a5bd5c 100644 --- a/sites/all/modules/contributions/context/context_contrib/context_contrib.js +++ b/sites/all/modules/contributions/context/context_contrib/context_contrib.js @@ -4,7 +4,7 @@ * This behavior looks at the views checkboxes that are being selected and if all the displays on a single view are ticked, then tick that too. Likewise if they are all ticked, and one is then unticked, untick the all checkbox. Toggling the parent checkbox toggles the children too. */ Drupal.behaviors.context_contrib_views_checkboxes = function(context) { - $('#widget-views :checkbox').change(function() { + $('#widget-views').find('input:checkbox').change(function() { var element = $(this); var val = element.val(); // Children