Fixing table header see BT#4527

skala
Julio Montoya 13 years ago
parent be9d6e1ae6
commit a1f3c96c90
  1. 8
      main/attendance/attendance_sheet.php

@ -85,10 +85,10 @@ if (api_is_allowed_to_edit(null, true)) {
var topbar = 0;
if ($("#topbar").length != 0) {
topbar = $("#topbar").height();
}
if ($(".subnav").length != 0) {
topbar = topbar + $(".subnav").height();
} else {
if ($(".subnav").length != 0) {
topbar = $(".subnav").height();
}
}
var top_value = Math.min(scrollTop - offset.top, $(this).height() - floatingHeaderRow.height()) + topbar;

Loading…
Cancel
Save