0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 05:22:40 +00:00

Remove unneeded variable

This commit is contained in:
David Bolack
2024-09-07 19:54:52 -05:00
parent 8709772f51
commit 049b64cd41

View File

@@ -58,7 +58,6 @@ const getTOC = ()=>{
walkPages(); walkPages();
_.each(headings, (heading)=>{ _.each(headings, (heading)=>{
const pageAnchor = heading.closest('.page').id;
const onPage = parseInt(heading.closest('.page').id?.replace(/^p/, '')); const onPage = parseInt(heading.closest('.page').id?.replace(/^p/, ''));
const ToCExclude = getComputedStyle(heading).getPropertyValue('--TOC'); const ToCExclude = getComputedStyle(heading).getPropertyValue('--TOC');