fix: the disrespect for the ts compiler

This commit is contained in:
Oleksandr 2026-02-13 17:18:00 +02:00
parent 8c961c729b
commit af899b4ce5
Signed by: Xanazf
GPG key ID: 821EEC32761AC17C
11 changed files with 53 additions and 72 deletions

View file

@ -103,6 +103,7 @@ for (const segment of url) {
// FIXME: need to make this work properly, or fold into the markdown processor
let headings = document.getElementsByClassName("heading")
if (headings.length > 0) {
//@ts-expect-error
for (const heading of headings) {
let button = heading.querySelector("h2")
if (button) {