MediaWiki:Common.js: Difference between revisions

From Mutant Year Zero
No edit summary
No edit summary
Line 3: Line 3:
/* Make the sandcat logo go to the main sandcat site, while the other logo still goes to the mediawiki home */
/* Make the sandcat logo go to the main sandcat site, while the other logo still goes to the mediawiki home */
$(".mw-logo-icon").wrap($('<a>',{
$(".mw-logo-icon").wrap($('<a>',{
  href: 'http://rpg.sandcat.nl/'
}));
$(".timeless-logo").wrap($('<a>',{
   href: 'http://rpg.sandcat.nl/'
   href: 'http://rpg.sandcat.nl/'
}));
}));

Revision as of 12:47, 9 December 2023

/* Any JavaScript here will be loaded for all users on every page load. */

/* Make the sandcat logo go to the main sandcat site, while the other logo still goes to the mediawiki home */
$(".mw-logo-icon").wrap($('<a>',{
   href: 'http://rpg.sandcat.nl/'
}));

$(".timeless-logo").wrap($('<a>',{
   href: 'http://rpg.sandcat.nl/'
}));