MediaWiki:Minerva.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:


function TLPExpand(w) {
function TLPExpand(w) {
   var x = document.getElementById(w);
  var t = "tlp-children-".concat(w);
   var x = document.getElementById(t);
   var y = "tlp-button-text-".concat(w);
   var y = "tlp-button-text-".concat(w);
   var z = document.getElementById(y);
   var z = document.getElementById(x);
   if (x.style.display === "block") {
   if (x.style.display === "block") {
     x.style.display = "none";
     x.style.display = "none";