代码优化
This commit is contained in:
@@ -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");
|
$("#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 setInterceptDefaultInfo=function(cfgId){
|
||||||
var action=$("input[name='action']:checked").val();
|
var action=$("input[name='action']:checked").val();
|
||||||
@@ -1823,11 +1827,5 @@ function heightDiv(){
|
|||||||
$('.table-responsive').css({'height':hei+'px'});
|
$('.table-responsive').css({'height':hei+'px'});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload=function (){
|
|
||||||
setTimeout(function (){
|
|
||||||
heightDiv();
|
|
||||||
},500);
|
|
||||||
}
|
|
||||||
window.onresize=heightDiv;
|
window.onresize=heightDiv;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user