Ver Fonte

Fixing table header see BT#4527

Julio Montoya há 12 anos atrás
pai
commit
a1f3c96c90
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      main/attendance/attendance_sheet.php

+ 4 - 4
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;