User:Chace1204/timeless.js

/* Any JavaScript here will be loaded for users using the Timeless skin */ /* * New image thumb design * * @dependencies none * @source en.wikipedia.org/wiki/MediaWiki:Gadget-NewImageThumb.js * @revision 1 * @author: Edokter (User:Edokter) */

mw.hook( 'wikipage.content' ).add( function {   $( '.thumbinner' ).not( '.mp-thumb' ).each( function { $( this ).css( 'width', ( parseInt( $( this ).css( 'width' ) ) - 2 ) + 'px' ); } ); } );