Skip to content

Commit

Permalink
fix(shs-6103): fix misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari Nez committed Mar 4, 2025
1 parent 1c72762 commit 80d414f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
context,
);

// Find timeline items are are open inside of timelineCollapsed and close them!
// Find timeline items that are open inside of timelineCollapsed and close them!
timelineCollapsed.forEach((timeline) => {
// Find all the timeline items inside of the collapsed timeline
const items = timeline.querySelectorAll('.hb-timeline-item');
Expand All @@ -21,7 +21,6 @@
});
});

// When a user clicks on a timeline, set open property accordingly
const timelineItems = once('timeline-item', '.hb-timeline-item', context);

const searchQuery = new URLSearchParams(window.location.search);
Expand Down

0 comments on commit 80d414f

Please sign in to comment.