MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 50: Line 50:


/* ======================================= template:Top ======================================= */
/* ======================================= template:Top ======================================= */
document.getElementById('custom-tooltip').addEventListener('click', closeTooltip);
function closeTooltip() {
function closeTooltip() {
   document.getElementById("custom-tooltip").style.visibility = "hidden";
   document.getElementById("custom-tooltip").style.visibility = "hidden";