5,953
edits
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( | 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"; |