alphagov/manuals-frontend — pull request #51 by alicebartlett (2014-06-13 13:45:21+00:00)
Title: Skip unnecessary js init if there are no sections

Bypass js initialisation if the sectioncollection has only uncollapsible sections. This skip also includes skipping open all / close all links which don't do anything when there are no collapsibles.