Commit b0a72824 authored by sc979's avatar sc979
Browse files

fix: scrollHeight

parent 487b87b6
......@@ -9,7 +9,7 @@ function reloadWidget() {
success : function(htmlData) {
jQuery("#infoAjax").html("");
jQuery("#infoAjax").html(htmlData);
var h = document.getElementById("tactical-overview").scrollHeight + 10;
var h = jQuery("#tactical-overview").prop("scrollHeight") + 10;
if(h){
parent.iResize(window.name, h);
}else{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment