#2602: Check that a link's children are inaccessible before removing collapsed class.
Merge branch 'SCHOLAR-3.x' into 2602-collapsed_class
Merge pull request #2610 from openscholar/2602-collapsed_class

ToC link collapsed class