Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
Difference between revisions of "MediaWiki:Gadget-addsection-plus.js"
From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
*>Krinkle (← Migration: Replacing calls to deprecated functionality.) |
m (1 revision) |
(No difference)
|
Latest revision as of 05:23, 10 March 2013
// ********************************************************************** // ** ***WARNING GLOBAL GADGET FILE*** ** // ** changes to this file affect many users. ** // ** please discuss on the talk page before editing ** // ** ** // ********************************************************************** $(document).ready( function () { var tab, tablink; tab = document.getElementById('ca-addsection'); if ( !tab ) { return; } tablink = tab.getElementsByTagName('a')[0]; if ( !tablink ) { return; } tablink.firstChild.nodeValue = '+'; if ( mw.config.get( 'skin' ) === 'monobook' ) { tablink.style.paddingLeft = ".4em"; tablink.style.paddingRight = ".4em"; } });