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

Content deleted Content added
only change the padding under monobook.
make it vector compatible
Line 8:
var tab = document.getElementById('ca-addsection');
if(!tab) return;
var tablink = tab.getElementsByTagName('a')[0] || tab.getElementsByTagName('span')[0];
if(!tablink) return;
tablink.firstChild.nodeValue = '+';