MediaWiki:Gadget-addsection-plus.js: Difference between revisions
Jump to navigation
Jump to search
(fix addsection gadget) |
m (1 revision) |
(No difference)
|
Latest revision as of 13:19, 15 December 2011
// ********************************************************************** // ** ***WARNING GLOBAL GADGET FILE*** ** // ** changes to this file affect many users. ** // ** please discuss on the talk page before editing ** // ** ** // ********************************************************************** addOnloadHook(function() { var tab = document.getElementById('ca-addsection'); if(!tab) return; var tablink = tab.getElementsByTagName('a')[0] if(!tablink) return; tablink.firstChild.nodeValue = '+'; if( skin == "monobook" ) { tablink.style.paddingLeft = ".4em"; tablink.style.paddingRight = ".4em"; } });