chore: fixes

This commit is contained in:
MattTheTekie 2026-04-23 18:03:08 -04:00
commit fc0fa6ac15

View file

@ -127,15 +127,11 @@ function showAbout(event) {
const temp = document.createElement("div");
temp.innerHTML = html;
const section = temp.querySelector("#aboutSection");
const section = temp.querySelector("#aboutSection .home-text");
target.innerHTML = section
? `
<div class="home-text text-containers-secondary-bg">
${section.innerHTML}
</div>
`
: "<h2>About</h2><p>Missing #aboutSection in about.html</p>";
? section.innerHTML
: "<h2>About</h2><p>Missing proper structure</p>";
})
.catch(err => {
console.error(err);