mdbook/crates/mdbook-html/front-end/templates
Eric Huss 4b5004b621 Avoid divide-by-zero in heading nav computation
This particular value can go to zero when the document height and the
window height are exactly the same value. This causes a NaN which causes
the "current" heading nav bug to not update properly. This clamps the
value to 1 to avoid that.
2025-10-20 17:43:34 -07:00
..
head.hbs Move theme to mdbook-html 2025-07-23 17:40:52 -07:00
header.hbs Move theme to mdbook-html 2025-07-23 17:40:52 -07:00
index.hbs Fix broken a tag 2025-09-15 20:17:11 -07:00
redirect.hbs Move theme to mdbook-html 2025-07-23 17:40:52 -07:00
toc.html.hbs Use embedded SVG instead of fonts for icons 2025-08-14 20:14:55 -07:00
toc.js.hbs Avoid divide-by-zero in heading nav computation 2025-10-20 17:43:34 -07:00