make sure compose window will not be subject of further height adaptions in inital step of opening, if the compose window is opened with a height smaller than 650

This commit is contained in:
Klaus Leithoff 2013-09-27 09:58:58 +00:00
parent 8dc1d5758e
commit cbb3055fc5

View File

@ -59,7 +59,8 @@ function initAll()
sizeAdjusted = true;
window.resizeBy(0,1000-window.outerHeight);
}
if (screen.height>screen.availHeight && !sizeAdjusted) window.resizeBy(0,screen.availHeight-screen.height);
var t = window.outerHeight+screen.availHeight-screen.height;
if (screen.height>screen.availHeight && !sizeAdjusted && t>650) window.resizeBy(0,screen.availHeight-screen.height);
//tab.init();
//alert(document.onkeydown);
var titletext = document.getElementById('fm_compose_subject').value;