Merge pull request #8607 from MrPetovan/bug/8606-vier-profile-settings-accordion

[vier] Fix accordion logic in templates/settings/profile/index
This commit is contained in:
Michael Vogel 2020-05-08 16:32:47 +02:00 committed by GitHub
commit 5765b6f772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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>