You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
700 B
22 lines
700 B
require(['../../js/common/common.config.js'], function() {
|
|
require(["plateContentMod"], function(plateContentMod) {
|
|
function setDiv() {
|
|
var height = $(window).height() - 135;
|
|
$("#bodyDiv").height(height);
|
|
$("#bodyDiv").css('max-height', height + "px");
|
|
|
|
$("#custom-toc-container").height(height);
|
|
$("#custom-toc-container").css('max-height', height + "px");
|
|
|
|
$("#treeDiv").height(height);
|
|
$("#treeDiv").css('max-height', height + "px");
|
|
|
|
}
|
|
plateContentMod.init();
|
|
setDiv();
|
|
|
|
$(window).resize(function () {
|
|
setDiv();
|
|
});
|
|
});
|
|
}); |