MediaWiki:Minerva.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
   var z = document.getElementById(y); //kinda document.getElementById("tlp-children-1.21")
   var z = document.getElementById(y); //kinda document.getElementById("tlp-children-1.21")
   var a = "tlp-button-text-".concat(x); //kinda "tlp-button-text-1.21"
   var a = "tlp-button-text-".concat(x); //kinda "tlp-button-text-1.21"
   var b = document.getElementById(x); //kinda document.getElementById("tlp-button-text-1.21")
   var b = document.getElementById(a); //kinda document.getElementById("tlp-button-text-1.21")
   if (z.style.display === "block") {
   if (z.style.display === "block") {
     z.style.display = "none";
     z.style.display = "none";