Debug last commit

This commit is contained in:
Adrien RENARD 2024-01-27 20:16:18 +01:00
parent d51e0e4ff0
commit a67a68abdc
1 changed files with 2 additions and 2 deletions

View File

@ -231,8 +231,8 @@ function modalForm_initTabs(modal) {
// RESIZE TABS // RESIZE TABS
var resizeFct = function resizeFormClient(modal) { var resizeFct = function resizeFormClient(modal) {
var wh = window.innerHeight; var h = window.innerHeight - (window.innerWidth < 768 ? 111 : 180);
modal.find("div.formTabs div.tab").css("max-height", (wh-180)+"px"); modal.find("div.formTabs div.tab").css("max-height", h+"px");
} }
resizeFct(modal); resizeFct(modal);
$( window ).on( "resize", function() { resizeFct(modal) }); $( window ).on( "resize", function() { resizeFct(modal) });