From: Hypolite Petovan Date: Fri, 8 May 2020 13:06:28 +0000 (-0400) Subject: [vier] Fix accordion logic in templates/settings/profile/index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb09bdfc96621be3df07fcd7f6b52683521717ac;p=friendica.git [vier] Fix accordion logic in templates/settings/profile/index --- 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(); }); });