Displaying of old media appearances is broken in press page
Type of work:
The displaying of "Older media appearances" blocks seems broken in https://tails.boum.org/press/index.en.html. When somebody click on one of the year, nothing is displayedA quick debugging let me think that,
- when the page is loaded inittoggle() in https://tails.boum.org/ikiwiki/toggle.js is called
- as their is a <a class="toggle" href="#press.media-appearances-2017">2017</a> but no <div class="toggleable" id="press.media-appearances-2017"> the loop in inittoggle() receive a null in the first getElementById (can be seen in the webconsole), thus is interrupted, so the onclick=f() is not added to the links.
- Adding an empty <div class="toggleable" id="press.media-appearances-2017"> or removing <a class="toggle" href="#press.media-appearances-2017">2017</a> should fix the issue
- It may be related to the last edit in the page https://labs.riseup.net/code/projects/tails/repository/revisions/bf11287faff98cae9d038c7476733f9e845071f1/diff/wiki/src/press.mdwn