diff --git a/common-theme/assets/scripts/time-stamper.js b/common-theme/assets/scripts/time-stamper.js index fb8766610..b50af460c 100644 --- a/common-theme/assets/scripts/time-stamper.js +++ b/common-theme/assets/scripts/time-stamper.js @@ -2,15 +2,12 @@ class TimeStamper extends HTMLElement { constructor() { super(); this.attachShadow({ mode: "open" }); - this.shadowRoot.innerHTML = ` - - - `; - - this.timelineEntries = this.querySelectorAll(".c-block"); - this.startTime = this.getAttribute('start-time'); + this.shadowRoot.innerHTML = ``; + + this.timelineEntries = this.querySelectorAll( + ".c-block:not(.is-nested .c-block)" + ); + this.startTime = this.getAttribute("start-time"); } connectedCallback() {