spqr/toc updated

I recently updatet spqr/toc to version 1.0.6
and 1.0.7
.
There have been minor problems:
If the toc was empty, the
ol
element has still been rendered. Thanks to the developer of tocbot this is no longer the case. I added a CSS snippet, that hides the.toc
div if it's empty.The JavaScript interfered with Pagekit's JS. Once spqr/toc was enabled, links like
<a href="#">Reply</a>
caused a scrolling back to the top of the page. I spotted an issue in the used JavaScript dependency and the developer fixed it within a few hours.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}