<xen:require js="js/xenforo/filter_list.js" />
<script type="text/javascript">
$(document).ready(function() {
$('.FilterList .textHeading').click(function() {
var $this = $(this),
collapsed = $this.hasClass('collapsed'),
$children = $this.toggleClass('collapsed').next().children();
if (collapsed) {
$children.show();
} else {
$children.hide();
}
});
});
</script>