Fix to generally set client height for all modules 6310521982 (r112805733)

This commit is contained in:
iliajie
2023-05-11 12:32:57 +03:00
parent 699c9b9696
commit 17d4090c45
4 changed files with 23 additions and 23 deletions

View File

@ -11,12 +11,6 @@ $pftmsg = &text('index_pft', $text{'index_pft'.$pft} || $pft);
$formno = 0;
&ReadParse();
if ($config{'display_max_auto'} &&
!$in{'client_height'} && !$ENV{'HTTP_X_CLIENT_HEIGHT'}) {
print "<script>location.href = location.pathname + '?client_height=' + document.documentElement.clientHeight;</script>";
exit;
}
@quarters = ( "width=25%", "width=25%", "width=25%", "width=25%" );
# Get the user and group lists