0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 11:22:39 +00:00

Update selection query

This commit is contained in:
G.Ambatte
2025-01-09 12:29:18 +13:00
parent 6ec65eee23
commit a9823d39e2

View File

@@ -10,7 +10,7 @@ const HeaderNav = React.forwardRef(({}, pagesRef)=>{
const renderHeaderLinks = ()=>{
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;
const navList = [];