This commit is contained in:
James 2020-03-29 10:42:07 +01:00
parent e16b071d23
commit 5c9d540788

View File

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