mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 13:32:45 +00:00
Update selection query
This commit is contained in:
@@ -10,7 +10,7 @@ const HeaderNav = React.forwardRef(({}, pagesRef)=>{
|
|||||||
|
|
||||||
const renderHeaderLinks = ()=>{
|
const renderHeaderLinks = ()=>{
|
||||||
if(!pagesRef.current) return;
|
if(!pagesRef.current) return;
|
||||||
const elements = pagesRef.current.querySelectorAll('.page:not(:has(.toc)) [id]');
|
const elements = pagesRef.current.querySelectorAll('div:not(.toc) > [id]');
|
||||||
if(!elements) return;
|
if(!elements) return;
|
||||||
const navList = [];
|
const navList = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user