Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Feb 18, 2025

Context

Clicking on "What if I need to update both 8.x and 9.x docs?" in https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/contribute/on-the-web doesn't work as expected.

Seems like the id is too long for document.querySelector.

Changes

Use document.getElementById instead.

@reakaleek reakaleek added the fix label Feb 18, 2025
@reakaleek reakaleek self-assigned this Feb 18, 2025
@reakaleek reakaleek requested a review from a team February 18, 2025 19:28
@reakaleek reakaleek merged commit 80316b9 into main Feb 18, 2025
5 of 6 checks passed
@reakaleek reakaleek deleted the feature/fix-toc-nav branch February 18, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants