update from sparkleup
This commit is contained in:
parent
ccb9f797cb
commit
209000bc50
Binary file not shown.
|
@ -238,11 +238,23 @@
|
|||
<p>Page generated on 2020-04-08 16:11</p>
|
||||
</footer>
|
||||
</main>
|
||||
<style>
|
||||
.has-nested:before {
|
||||
content: 'v';
|
||||
}
|
||||
.has-nested.closed:before {
|
||||
content: '>';
|
||||
}
|
||||
.has-nested.closed {
|
||||
max-height: 16pt;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
const els = document.querySelectorAll('li');
|
||||
els.forEach(el => {
|
||||
if (el.querySelectorAll('li').length !== 0) {
|
||||
el.classList.toggle('has-nested');
|
||||
el.classList.add('has-nested', 'closed');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue