summaryrefslogtreecommitdiffstats
path: root/rand.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-10-29 21:08:12 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-10-29 21:08:12 -0700
commit3da51fab3d957c487c6b04e137d0d3d391038d95 (patch)
treeaa722119bd93a08af5693297ca21fadb463c7364 /rand.c
parentc7b723a4e6533bdb0ae32fc21bd52ad081bd2dce (diff)
downloadtxr-3da51fab3d957c487c6b04e137d0d3d391038d95.tar.gz
txr-3da51fab3d957c487c6b04e137d0d3d391038d95.tar.bz2
txr-3da51fab3d957c487c6b04e137d0d3d391038d95.zip
html doc: "collapse all" shouldn't hide whole TOC.
* genman.txr: show the toggle as "expand all" initially. Assign the sections of the TOC to the "tocsec" class, and then select the elements by class rather than by the dl element type. This avoids selecting the dl that wraps the entire TOC. (xpanded): New boolean variable. (toggleall): Base toggle on boolean variable rather than the state of the first section dl element. Toggle the xpanded variable.
Diffstat (limited to 'rand.c')
0 files changed, 0 insertions, 0 deletions