<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://csharpgamedev.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://csharpgamedev.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://csharpgamedev.com/w/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-04-19T09:45:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://csharpgamedev.com/w/index.php?title=MediaWiki:Common.js&amp;diff=102&amp;oldid=prev</id>
		<title>Winkio: Created page with &quot;/* Any JavaScript here will be loaded for all users on every page load. */ // Initialises stripes on all zebra tables after page load $(document).ready(function() { 	$(&#039;table.zebra tbody tr:nth-child(even)&#039;).addClass(&#039;even&#039;); 	$(&#039;table.zebra tbody tr:nth-child(odd)&#039;).addClass(&#039;odd&#039;); });  // Re do stripes on a table after sort finishes $(document).on(&#039;sortEnd.tablesorter&#039;, function(event) { 	var table = $(event.target); 	if(table.hasClass(&#039;zebra&#039;)) { 		$(&#039;tbody tr:nth-ch...&quot;</title>
		<link rel="alternate" type="text/html" href="https://csharpgamedev.com/w/index.php?title=MediaWiki:Common.js&amp;diff=102&amp;oldid=prev"/>
		<updated>2024-06-10T16:27:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Any JavaScript here will be loaded for all users on every page load.: &lt;/span&gt; // Initialises stripes on all zebra tables after page load $(document).ready(function() { 	$(&amp;#039;table.zebra tbody tr:nth-child(even)&amp;#039;).addClass(&amp;#039;even&amp;#039;); 	$(&amp;#039;table.zebra tbody tr:nth-child(odd)&amp;#039;).addClass(&amp;#039;odd&amp;#039;); });  // Re do stripes on a table after sort finishes $(document).on(&amp;#039;sortEnd.tablesorter&amp;#039;, function(event) { 	var table = $(event.target); 	if(table.hasClass(&amp;#039;zebra&amp;#039;)) { 		$(&amp;#039;tbody tr:nth-ch...&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
// Initialises stripes on all zebra tables after page load&lt;br /&gt;
$(document).ready(function() {&lt;br /&gt;
	$(&amp;#039;table.zebra tbody tr:nth-child(even)&amp;#039;).addClass(&amp;#039;even&amp;#039;);&lt;br /&gt;
	$(&amp;#039;table.zebra tbody tr:nth-child(odd)&amp;#039;).addClass(&amp;#039;odd&amp;#039;);&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
// Re do stripes on a table after sort finishes&lt;br /&gt;
$(document).on(&amp;#039;sortEnd.tablesorter&amp;#039;, function(event) {&lt;br /&gt;
	var table = $(event.target);&lt;br /&gt;
	if(table.hasClass(&amp;#039;zebra&amp;#039;)) {&lt;br /&gt;
		$(&amp;#039;tbody tr:nth-child(even)&amp;#039;,table).addClass(&amp;#039;even&amp;#039;).removeClass(&amp;#039;odd&amp;#039;);&lt;br /&gt;
		$(&amp;#039;tbody tr:nth-child(odd)&amp;#039;,table).addClass(&amp;#039;odd&amp;#039;).removeClass(&amp;#039;even&amp;#039;);&lt;br /&gt;
	}&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Winkio</name></author>
	</entry>
</feed>