* adjust for fixed tfoot action.

This commit is contained in:
wangyidong
2016-03-10 09:29:42 +08:00
parent 61fb9e38ba
commit e617014b65
+1 -1
View File
@@ -1377,7 +1377,7 @@ function fixedTfootAction(formID)
var documentH = $(document).height();
var tfootHeight = $tfoot.height();
var tfootOffset = documentH - $tfoot.offset().top - $('#footer').height() - tfootHeight;
var tfootOffset = documentH - $tfoot.offset().top - $('#footer').height() - tfootHeight / 5;
var tableWidth = $table.width();
if(documentH - $(window).height() - $(window).scrollTop() >= tfootOffset)
{