diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 2ead8a6e1..adf04a4a1 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -572,6 +572,10 @@ window.onload=function(){ $("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").find(".input-group-btn").css("padding-bottom", (newIgHeight-igHeight)+"px"); }); + setTimeout(function (){ + heightDiv(); + },500); + } var setInterceptDefaultInfo=function(cfgId){ var action=$("input[name='action']:checked").val(); @@ -1823,11 +1827,5 @@ function heightDiv(){ $('.table-responsive').css({'height':hei+'px'}); } } - -window.onload=function (){ - setTimeout(function (){ - heightDiv(); - },500); -} window.onresize=heightDiv;