Common.js: Difference between revisions
From MusicReader Manual
MRWikiAdmin (talk | contribs) (Created page with "→Any JavaScript here will be loaded for all users on every page load.: if(!document.getElementById("pt-logout") && !document.getElementById("pt-logout") && document.getEle...") |
MRWikiAdmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
if(!document.getElementById("pt-logout") && !document.getElementById("pt- | if(!document.getElementById("pt-logout") && !document.getElementById("pt-login") && document.getElementById("personal-tools-dropdown")) | ||
document.getElementById("personal-tools-dropdown").style.display="none"; | document.getElementById("personal-tools-dropdown").style.display="none"; |
Revision as of 19:57, 19 August 2021
/* Any JavaScript here will be loaded for all users on every page load. */ if(!document.getElementById("pt-logout") && !document.getElementById("pt-login") && document.getElementById("personal-tools-dropdown")) document.getElementById("personal-tools-dropdown").style.display="none";