1
0
mirror of synced 2026-08-05 14:26:57 +00:00

DEV: Update toc-timeline.gjs (#84)

Add class to body when d-toc is installed, even when it isnt rendered.
This commit is contained in:
Jordan Vidrine
2024-04-23 11:54:56 -05:00
committed by GitHub
parent 17aa48f5c6
commit 016cfcfd7a
@@ -64,6 +64,7 @@ export default class TocTimeline extends Component {
{{didUpdate this.handleTimelineUpdate @renderTimeline}}
class="d-toc-main"
>
{{bodyClass "d-toc-installed"}}
{{#if this.shouldRenderToc}}
{{#unless this.isTopicProgress}}
{{bodyClass "d-toc-active"}}