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

Content deleted Content added
make it vector compatible
one more try then.
Line 8:
var tab = document.getElementById('ca-addsection');
if(!tab) return;
var tablink = tab.getElementsByTagName('a')[0]
|| tab if( skin == "vector" )
tablink = tablink.getElementsByTagName('span')[0];
if(!tablink) return;
tablink.firstChild.nodeValue = '+';