MediaWiki:Gadget-addsection-plus.js: Difference between revisions

Content deleted Content added
tested, and should be working perfectly now
okay, code was never actually broken; now integrate together
Line 11:
if(!tablink) return;
tablink.firstChild.nodeValue = '+';
plusLinktablink.style.paddingLeft = ".4em";
 
plusLinktablink.style.paddingRight = ".4em";
var addSectionTab = document.getElementById("ca-addsection");
{
if(addSectionTab && addSectionTab != null)
{
plusLink = addSectionTab.firstChild;
plusLink.style.paddingLeft = ".4em";
plusLink.style.paddingRight = ".4em";
}
});