- Issue created by @maenjuel
First of all: thanks for creating this module! It offers a very sophisticated solution to have a nice table of content block. Much appreciated!
One thing I noticed while working with Tocbot:
When the number set in "minActivate (number)" is not reached, the table of content is not generated (which is the desired outcome), but the block is still placed, containing an empty div:
<div class="js-toc-block"></div>
IMO it would be better, if the block would not appear at all if the minimal number to generate the table of content is not reached, mainly for two reasons:
Active
2.0
Code