Files
EasySoft-ZenTaoPMS/module/dev/js/api.js
T
2023-03-10 15:54:53 +08:00

18 lines
294 B
JavaScript

$(function()
{
setHeight();
$(window).resize(setHeight);
});
/**
* Set pane height.
*
* @access public
* @return void
*/
function setHeight()
{
var paneHeight = $(window).height() - 100;
$('#sidebar .module-tree,#mainContent .module-content').css('height', paneHeight);
}