Bug 38069: Fix jump to the correct table

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-11-13 12:46:41 +01:00 committed by Katrin Fischer
parent 9b8ea2dc6a
commit 1c1b87690c
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@
$("#[% panel | uri %]_panel").on('shown.bs.collapse', function () {
$('html, body').animate({
[%- IF table.defined -%]
scrollTop: ($("#[% page | uri %]_[% table | uri %]").offset().top)
scrollTop: ($("#[% page | uri %]|[% table | uri %]").offset().top)
[%- ELSE -%]
scrollTop: ($("#[% page | uri %]").offset().top)
[%- END -%]