pull/44/merge
meihangbo 2017-03-03 02:23:02 +00:00 committed by GitHub
commit 35fc006c5f
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ Class.pt.auto = function(index){
var btnHeight = layero.find('.'+doms[6]).outerHeight() || 0; var btnHeight = layero.find('.'+doms[6]).outerHeight() || 0;
function setHeight(elem){ function setHeight(elem){
elem = layero.find(elem); elem = layero.find(elem);
elem.height(area[1] - titHeight - btnHeight - 2*(parseFloat(elem.css('padding'))|0)); elem.height(area[1] - titHeight - btnHeight - (parseFloat(elem.css('padding-top'))|0) - (parseFloat(elem.css('padding-bottom'))|0));
} }
switch(config.type){ switch(config.type){
case 2: case 2: