diff options
Diffstat (limited to 'src/utils/hooks/useHeadingsTree.tsx')
| -rw-r--r-- | src/utils/hooks/useHeadingsTree.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/utils/hooks/useHeadingsTree.tsx b/src/utils/hooks/useHeadingsTree.tsx index 267e97d..f2be406 100644 --- a/src/utils/hooks/useHeadingsTree.tsx +++ b/src/utils/hooks/useHeadingsTree.tsx @@ -11,7 +11,7 @@ const useHeadingsTree = (wrapper: string) => {    useEffect(() => {      const query = depths -      .map((depth) => `${wrapper} > *:not(aside) ${depth}`) +      .map((depth) => `${wrapper} > *:not(aside, #comments) ${depth}`)        .join(', ');      const result: NodeListOf<HTMLHeadingElement> =        document.querySelectorAll(query); | 
