5,953
edits
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
} | } | ||
const TLPPropositions = ["1", | const TLPPropositions = [/*"1",*/ | ||
"1.1", | "1.1", | ||
"1.11", | "1.11", | ||
Line 24: | Line 24: | ||
"1.2", | "1.2", | ||
"1.21", | "1.21", | ||
"2", | /*"2",*/ | ||
"2.01", | "2.01", | ||
"2.011", | "2.011", | ||
Line 103: | Line 103: | ||
"2.224", | "2.224", | ||
"2.225", | "2.225", | ||
"3", | /*"3",*/ | ||
"3.001", | "3.001", | ||
"3.01", | "3.01", | ||
Line 177: | Line 177: | ||
"3.42", | "3.42", | ||
"3.5", | "3.5", | ||
"4", | /*"4",*/ | ||
"4.001", | "4.001", | ||
"4.002", | "4.002", | ||
Line 286: | Line 286: | ||
"4.52", | "4.52", | ||
"4.53", | "4.53", | ||
"5", | /*"5",*/ | ||
"5.01", | "5.01", | ||
"5.02", | "5.02", | ||
Line 437: | Line 437: | ||
"5.64", | "5.64", | ||
"5.641", | "5.641", | ||
"6", | /*"6",*/ | ||
"6.001", | "6.001", | ||
"6.002", | "6.002", | ||
Line 541: | Line 541: | ||
"6.522", | "6.522", | ||
"6.53", | "6.53", | ||
"6.54", | "6.54"/*, | ||
"7"]; | "7"*/]; | ||
function TLPExpandAll() { | function TLPExpandAll() { | ||
Line 552: | Line 552: | ||
var b = document.getElementById(a); //outputs something like document.getElementById("tlp-button-text-1.21") | var b = document.getElementById(a); //outputs something like document.getElementById("tlp-button-text-1.21") | ||
z.style.display = "block"; | z.style.display = "block"; | ||
b.innerHTML = "Collapse"; | |||
} | } | ||
TLPPropositions.forEach(TLPExpandOne); | TLPPropositions.forEach(TLPExpandOne); | ||
Line 565: | Line 565: | ||
var b = document.getElementById(a); //outputs something like document.getElementById("tlp-button-text-1.21") | var b = document.getElementById(a); //outputs something like document.getElementById("tlp-button-text-1.21") | ||
z.style.display = "none"; | z.style.display = "none"; | ||
b.innerHTML = "Expand"; | |||
} | } | ||
TLPPropositions.forEach(TLPCollapseOne); | TLPPropositions.forEach(TLPCollapseOne); | ||
} | } |