Resize the panel when a group is expanded

This commit is contained in:
Amauri CHAMPEAUX 2022-10-29 10:23:56 +02:00
parent aa9f222eb0
commit ea51f5f343
1 changed files with 1 additions and 0 deletions

View File

@ -683,6 +683,7 @@ var tarteaucitron = {
tarteaucitron.userInterface.removeClass('tarteaucitronServicesTitle_' + cat, 'tarteaucitronIsExpanded'); tarteaucitron.userInterface.removeClass('tarteaucitronServicesTitle_' + cat, 'tarteaucitronIsExpanded');
document.getElementById('tarteaucitron-toggle-group-'+cat).setAttribute('aria-expanded', 'false'); document.getElementById('tarteaucitron-toggle-group-'+cat).setAttribute('aria-expanded', 'false');
} }
tarteaucitron.initEvents.resizeEvent();
}); });
tarteaucitron.addClickEventToId("tarteaucitron-accept-group-" + cat, function () { tarteaucitron.addClickEventToId("tarteaucitron-accept-group-" + cat, function () {
tarteaucitron.userInterface.respondAll(true, cat); tarteaucitron.userInterface.respondAll(true, cat);