MediaWiki:Minerva.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 544: Line 544:
"7"];
"7"];


function TLPExpandAll () {
function TLPExpandAll() {
 
  TLPPropositions.forEach(TLPExpandOne);
    
    
   function TLPExpandOne(x) {
   function TLPExpandOne(x) {
Line 556: Line 554:
     b.innerHTML = "Collapse";
     b.innerHTML = "Collapse";
   }
   }
  TLPPropositions.forEach(TLPExpandOne);
}
}


function TLPCollapseAll () {
function TLPCollapseAll() {
 
  TLPPropositions.forEach(TLPCollapseOne);
    
    
   function TLPCollapseOne(x) {
   function TLPCollapseOne(x) {
Line 570: Line 567:
     b.innerHTML = "Expand";
     b.innerHTML = "Expand";
   }
   }
 
  TLPPropositions.forEach(TLPCollapseOne);
}
}