MediaWiki:Mobile.js

/* Any JavaScript here will be loaded for users using the mobile site */ /* Any JavaScript here will be loaded for all users on every page load. */

// Skill icon on click $(".skill-icon").on('click', function(e) {	var detailsId = $(this).attr('id').replace("-icon", "-details");	toggleDisplay(detailsId); });

function toggleDisplay(id) { var element = document.getElementById(id); if (element.style.display != "none") { element.style.display = "none"; } else { element.style.display = "block"; } }