Difference between revisions of "MediaWiki:Common.js"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 6: | Line 6: | ||
// Loading jQuery seems to only work here ¯\_(ツ)_/¯ | // Loading jQuery seems to only work here ¯\_(ツ)_/¯ | ||
− | mw.loader.load( 'https:// | + | mw.loader.load( 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' ); |
Revision as of 15:32, 24 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://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' );