User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 92:
alert(h1 + " " + h + " " + sh + " " + Math.abs(h-sh));
 
if(!h1 || Math.abs(h-sh) > 10)
if(Math.abs(parseInt(document.getElementById("thesectiondata").style.height.replace("px",""))/10)-document.getElementById("thesectiondata").scrollHeight/10 > 10)
{
if(parseInt(document.getElementById("thesectiondata").style.height.replace("px","")) < (document.getElementById("thesectiondata").scrollHeight.replace))