This commit is contained in:
James 2020-03-29 10:38:03 +01:00
parent e63210de27
commit 38bf01829e

View File

@ -64,10 +64,12 @@ define(["jquery"], function ($) {
function check_scroll(){
//
$("#hc_table thead.table").find('tr').first().children().each(function(i, e){
$($("#hc_table thead.fixed").find('tr').children()[i]).width($(e).width());
$("#hc_table thead.table").find('tr')[0].children().each(function(i, e){
$($("#hc_table thead.fixed").find('tr')[0].children()[i]).css('display','block').width($(e).width());
});
$("#hc_table thead.table").find('tr')[1].children().each(function(i, e){
$($("#hc_table thead.fixed").find('tr')[1].children()[i]).css('display','block').width($(e).width());
});
// make sure the left/right buttons are hidden if already at far left/right
var sl=$("#table_container").scrollLeft();