User:Kopcap94/wikia.js

(function( $ ) {	"use strict";	var title_text;	$( '.pi-theme-book .pi-header' ).each( function { title_text = $( this ).text; switch( title_text ) { case 'Skyrim': $( this ).addClass( 'skyrim' ); break; case 'Morrowind': $( this ).addClass( 'morrowind' ); break; default: return; }	}); })( this.jQuery );