Skip to content

Conversation

@kummadhi
Copy link
Contributor

@kummadhi kummadhi commented Apr 3, 2025

Fixed the issue where Element Image click pushes you back to the top of the page instead of the relevant page

BEFORE the fix:

Screen.Recording.2025-04-03.at.2.38.24.PM.mov

AFTER the fix:

Screen.Recording.2025-04-03.at.2.38.44.PM.mov

tocLinks.forEach((link) => {
link.addEventListener('click', () => {
this.closeToggleTOC(); // Close the TOC when a link is clicked
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only added this part... other changes are generated by auto linting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants