ubc-web-services / galactus

A Drupal version of the UBC CLF theme
MIT License
6 stars 5 forks source link

Fix bug and simplify conditional class #37

Closed joelpittet closed 6 years ago

joelpittet commented 6 years ago

Simplified the conditional that only toggles a class and moved the ending </div> tag inside a condition that would apply only when the opening <div> tag would be created.

It was breaking when printing more than 2 levels.

occupant commented 6 years ago

Nice, I like that!