2023-05-16 10:47:08 +08:00

21 lines
411 B
JavaScript

$(function()
{
adjustTableFooter();
});
/**
* Adjust the table footer style.
*
* @access public
* @return void
*/
function adjustTableFooter()
{
if($('#mainContent').height() < $(window).height())
{
$('.table').removeClass('with-footer-fixed');
$('.table-footer').removeClass('fixed-footer');
$('.table-footer').css({'left': 0, 'bottom': 0, 'width': 'unset'});
}
}