MediaWiki:Wikia.js

/* Any JavaScript here will be loaded for users of the Wikia skin (i.e., users browsing through desktop and not mobile devices) */

/* Scripts run automatically on every page load */ $(window).load(function{	/* Inserts link to blogs in navigation bar */	$('.subnav-2').first.append('Blogs');	/* Spoiler warning on top of each article */	$('#mw-content-text').prepend("  SPOILER ALERT! Articles can reveal important details of the plot. Continue at your own risk. ");	/* Moves Must Watch Videos at the bottom of the sidebar */	$('#WikiaRail').append($('#videosModule'));	/* Inserts Facebook module below Chat */	$('.ChatModule').after(' '); /* Moves HotSpot and Insights modules below Community Corner */ $('.CommunityCornerModule').after( $('.HotSpotsModule, .insights-module')); /* tabindex attribute for .status-row (necessary for the Articles status table) */ var x = document.getElementsByClassName("status-row"); var i;	for (i = 0; i < x.length; i++) { x[i].tabIndex = "0"; } });