Closed joelpittet closed 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.
</div>
<div>
It was breaking when printing more than 2 levels.
Nice, I like that!
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.