Files
EasySoft-ZenTaoPMS/module/dev/js/restapi.js
2023-04-03 17:11:27 +08:00

18 lines
293 B
JavaScript

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