From: Nicol Date: Sat, 2 Dec 2023 13:05:02 +0000 (+0000) Subject: Update Common.js X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2134adbb975a2704d3898400334422d533603257;p=civicrm-core.git Update Common.js Stop the accordion js from targetting
--- diff --git a/js/Common.js b/js/Common.js index 852540fab8..1b5c08f9d1 100644 --- a/js/Common.js +++ b/js/Common.js @@ -1706,7 +1706,7 @@ if (!CRM.vars) CRM.vars = {}; e.stopPropagation(); }) // Handle accordions - .on('click.crmAccordions', '.crm-accordion-header, .crm-collapsible .collapsible-title', function (e) { + .on('click.crmAccordions', 'div.crm-accordion-header, fieldset.crm-accordion-header, .crm-collapsible .collapsible-title', function (e) { var action = 'open'; if ($(this).parent().hasClass('collapsed')) { $(this).next().css('display', 'none').slideDown(200);