MediaWiki:Minerva.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
// Template:TLP drawer
// Template:TLP drawer


function TLPExpand(x) {
function TLPExpandEn(x) {
   var y = "tlp-children-".concat(x); //outputs something like "tlp-children-1.21"
   var y = "tlp-children-".concat(x); //outputs something like "tlp-children-1.21"
   var z = document.getElementById(y); //outputs something like document.getElementById("tlp-children-1.21")
   var z = document.getElementById(y); //outputs something like document.getElementById("tlp-children-1.21")