MediaWiki:Common.js

From Buddha-Nature

Revision as of 16:01, 2 August 2018 by JeremiP (talk | contribs) ((by SublimeText.Mediawiker))

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
$(document).ready(function(){
	$(".animated-caret a").hover(function(){
		$(this).children('#fadeInCaret').toggleClass('animated fadeInLeft').toggleClass('visible');
	});
});

// Loading jQuery seems to only work here ¯\_(ツ)_/¯
mw.loader.load( 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' );




// QTip link text
$(document).ready(function(){
    $('a.mw-lingo-tooltip-link').css('content', ' more');
});