]> git.mxchange.org Git - friendica.git/commitdiff
[vier] Fix accordion logic in templates/settings/profile/index
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 8 May 2020 13:06:28 +0000 (09:06 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 8 May 2020 13:06:28 +0000 (09:06 -0400)
view/theme/vier/templates/settings/profile/index.tpl

index 03f48b44979c31a33e17bc8279c578804a8acc05..fa9c074eb5e9f469b2d04d4df86cbbc096619f59 100644 (file)
@@ -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();
                });
        });
 </script>