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

Content deleted Content added
comment out temporarily until confirmed fix; this is invalid code if there is no ca-addsection
tested, and should be working perfectly now
Line 11:
if(!tablink) return;
tablink.firstChild.nodeValue = '+';
 
/*
var addSectionTab = document.getElementById("ca-addsection");
var plusLink = tab.firstChild;
if(addSectionTab && addSectionTab != null)
plusLink.style.paddingLeft = ".4em";
/*{
plusLink.style.paddingRight = ".4em";
var plusLink = tabaddSectionTab.firstChild;
*/
plusLink.style.paddingLeft = ".4em";
plusLink.style.paddingRight = ".4em";
*/}
});