MediaWiki:Common.js: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
$(document).ready(function(){
$(".animated-caret a").hover(function(){
$(this).children('#fadeInCaret').addClass('animated fadeInLeft').toggleClass('visible');
});
});


// Loading jQuery seems to only work here ¯\_(ツ)_/¯
mw.loader.load( 'https://code.jquery.com/jquery-3.2.1.slim.min.js' );

Revision as of 11:09, 3 April 2018

$(document).ready(function(){
	$(".animated-caret a").hover(function(){
		$(this).children('#fadeInCaret').addClass('animated fadeInLeft').toggleClass('visible');
	});
});

// Loading jQuery seems to only work here ¯\_(ツ)_/¯
mw.loader.load( 'https://code.jquery.com/jquery-3.2.1.slim.min.js' );