Resize the panel when group are open/close

This commit is contained in:
Amauri CHAMPEAUX 2021-03-26 14:12:39 +01:00
parent 14b7b4ca72
commit 3b097efceb
1 changed files with 1 additions and 0 deletions

View File

@ -633,6 +633,7 @@ var tarteaucitron = {
document.querySelector('#tarteaucitronServices_' + cat).style.display = 'none'; document.querySelector('#tarteaucitronServices_' + cat).style.display = 'none';
tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-" + cat, function () { tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-" + cat, function () {
tarteaucitron.userInterface.toggle('tarteaucitronServices_' + cat); tarteaucitron.userInterface.toggle('tarteaucitronServices_' + cat);
tarteaucitron.userInterface.jsSizing('main');
}); });
tarteaucitron.addClickEventToId("tarteaucitron-accept-group-" + cat, function () { tarteaucitron.addClickEventToId("tarteaucitron-accept-group-" + cat, function () {
tarteaucitron.userInterface.respondAll(true, cat); tarteaucitron.userInterface.respondAll(true, cat);