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:
commit
5765b6f772
|
@ -3,7 +3,7 @@
|
||||||
//$('.toggle-section-content + .toggle-section-content').hide();
|
//$('.toggle-section-content + .toggle-section-content').hide();
|
||||||
$('.js-section-toggler').click(function () {
|
$('.js-section-toggler').click(function () {
|
||||||
$('.toggle-section-content').hide();
|
$('.toggle-section-content').hide();
|
||||||
$(this).next('.toggle-section-content').toggle();
|
$(this).parents('.toggle-section').find('.toggle-section-content').toggle();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue