From cb5a4d48498c3f4fbdb3f01ff7b406c50b8889dd Mon Sep 17 00:00:00 2001 From: Gabriel Testault Date: Tue, 10 Jan 2023 12:59:52 +0100 Subject: [PATCH] fix(techdocs): remove comment about implementation details Signed-off-by: Gabriel Testault --- plugins/techdocs/src/reader/transformers/scrollIntoAnchor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/techdocs/src/reader/transformers/scrollIntoAnchor.ts b/plugins/techdocs/src/reader/transformers/scrollIntoAnchor.ts index 0be6fefc0b..97a18b7241 100644 --- a/plugins/techdocs/src/reader/transformers/scrollIntoAnchor.ts +++ b/plugins/techdocs/src/reader/transformers/scrollIntoAnchor.ts @@ -24,7 +24,6 @@ export const scrollIntoAnchor = (): Transformer => { function handleShadowDomStyleLoad() { if (window.location.hash) { const hash = window.location.hash.slice(1); - // fix invalid selector error for anchor starting with number dom?.querySelector(`[id="${hash}"]`)?.scrollIntoView(); } dom.removeEventListener(