Files
EasySoft-ZenTaoPMS/module/bug/js/report.js
2015-05-12 15:42:11 +08:00

14 lines
332 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();
$(window).resize(resizeChartTable);
});