From eb09bdfc96621be3df07fcd7f6b52683521717ac Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 8 May 2020 09:06:28 -0400 Subject: [PATCH] [vier] Fix accordion logic in templates/settings/profile/index --- view/theme/vier/templates/settings/profile/index.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/vier/templates/settings/profile/index.tpl b/view/theme/vier/templates/settings/profile/index.tpl index 03f48b4497..fa9c074eb5 100644 --- a/view/theme/vier/templates/settings/profile/index.tpl +++ b/view/theme/vier/templates/settings/profile/index.tpl @@ -3,7 +3,7 @@ //$('.toggle-section-content + .toggle-section-content').hide(); $('.js-section-toggler').click(function () { $('.toggle-section-content').hide(); - $(this).next('.toggle-section-content').toggle(); + $(this).parents('.toggle-section').find('.toggle-section-content').toggle(); }); }); -- 2.39.5