Fix fieldset open/close when it starts closed
This commit is contained in:
parent
74330b9af2
commit
7078179eac
|
@ -240,9 +240,6 @@
|
||||||
$('.fieldset .fieldset-button').on('click', function(e) {
|
$('.fieldset .fieldset-button').on('click', function(e) {
|
||||||
toggle_fieldset(e);
|
toggle_fieldset(e);
|
||||||
});
|
});
|
||||||
$('.fieldset.fieldset-open div').first().show();
|
|
||||||
$('.fieldset:not(.fieldset-open) div').first().hide();
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in New Issue