Revert "Bug 38536: Patrons requesting modifications: Expand correct panel"

This reverts commit 48da1efed3.
This commit is contained in:
Wainui Witika-Park 2024-12-19 15:46:13 +13:00
parent 9fc5936df2
commit b936aaf442
1 changed files with 2 additions and 2 deletions

View File

@ -222,9 +222,9 @@
<script>
$(document).ready(function(){
[%- IF ( active ) -%]
$("#panel-" + [% active | html %] + "_panel").collapse("show");
$("#pending_updates_group a[href='#panel-" + [% active | html %] + "_panel']").click();
[%- ELSE -%]
$(".panel-collapse:eq(0)").collapse("show");
$("#pending_updates_group a.collapsed:eq(0)").click();
[%- END -%]
});
</script>