Files
EasySoft-ZenTaoPMS/module/bug/js/report.js
2015-10-16 10:53:10 +08:00

15 lines
368 B
JavaScript

$(function()
{
var resizeChartTable = function()
{
$('.table-wrapper').each(function()
{
var $this = $(this);
$this.css('max-height', $this.closest('.table').find('.chart-wrapper').outerHeight());
});
};
resizeChartTable();
fixTableHead('.table-wrapper');
$(window).resize(resizeChartTable);
});