MediaWiki:Common.js: Difference between revisions

From Mutant Year Zero
No edit summary
No edit summary
Line 6: Line 6:
}));
}));


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

Revision as of 12:48, 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").attr("href", 'http://rpg.sandcat.nl/');