User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 86:
function updateheight()
{
alert(Mat.round(parseInt(document.getElementById("thesectiondata").style.height.replace("px",""))/10) + " " + Math.round(document.getElementById("thesectiondata").scrollHeight/10));
if(Math.round(parseInt(document.getElementById("thesectiondata").style.height.replace("px",""))/10) != Math.round(document.getElementById("thesectiondata").scrollHeight)/10))
{
if(parseInt(document.getElementById("thesectiondata").style.height.replace("px","")) < (document.getElementById("thesectiondata").scrollHeight.replace))