521 bytes added ,  13:36, 8 December 2020
Created page with "→‎All JavaScript here will be loaded for users of the mobile site: $(".dropdown-wrapper li a.dropdown-link").on('click touchstart', function(e){ e.preventDefault();..."
/* All JavaScript here will be loaded for users of the mobile site */

$(".dropdown-wrapper li a.dropdown-link").on('click touchstart', function(e){
e.preventDefault();

if ($(this).next('ul').is(':visible')){
$(this).next('ul').slideUp(1000);
$(this).removeClass('rotated');
} else {
$('.dropdown-wrapper li ul').slideUp(1000);
$('.dropdown-wrapper li a.dropdown-link').removeClass('rotated');
$(this).next('ul').slideDown(1000);
$(this).addClass('rotated');
}
});
1,157

edits