Content deleted Content added
No edit summary |
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
||
(46 intermediate revisions by one other user not shown) | |||
Line 86:
function updateheight()
{
var h1
var h = parseInt(h1)-25;
document.getElementById("thesectiondata").style.height = (25+document.getElementById("thesectiondata").scrollHeight)+"px"; ▼
var sh = document.getElementById("thesectiondata").scrollHeight;
if(!h1 || h < sh)
{
document.getElementById("thesectiondata").style.height = 10+"px";
▲
}
}
var i = 0;
Line 98 ⟶ 105:
var page = String(elem.href).substring(String(elem.href).search("title=")+6,String(elem.href).search("&"));
document.getElementsByClassName("editsection")[i].innerHTML = "[<a
i++;
|