Difference between revisions of "User:Mg27713/common.js"
Jump to navigation
Jump to search
(fix) |
(fix agai) |
||
Line 1: | Line 1: | ||
if (location.href.endsWith("#internalLink")) { | if (location.href.endsWith("#internalLink")) { | ||
− | var elems = document.getElementsByClassName("gw-mainpage- | + | var elems = document.getElementsByClassName("gw-mainpage-notice"); |
for (var i = 0; i < elems.length; i++) { | for (var i = 0; i < elems.length; i++) { | ||
elems[i].style.display = "block"; | elems[i].style.display = "block"; | ||
} | } | ||
} | } |
Latest revision as of 01:32, 13 November 2021
if (location.href.endsWith("#internalLink")) { var elems = document.getElementsByClassName("gw-mainpage-notice"); for (var i = 0; i < elems.length; i++) { elems[i].style.display = "block"; } }