diff --git a/legacy.html b/legacy.html index 9b9e4bd..9e9cd7f 100644 --- a/legacy.html +++ b/legacy.html @@ -127,17 +127,11 @@ function showAbout(event) { const temp = document.createElement("div"); temp.innerHTML = html; - const section = temp.querySelector("#aboutSection"); + const section = temp.querySelector("article.home-text.text-containers-secondary-bg"); - if (section) { - target.innerHTML = ` -
Missing #aboutSection
"; - } + target.innerHTML = section + ? section.innerHTML + : "Missing article.home-text.text-containers-secondary-bg in about.html
"; }) .catch(err => { console.error(err);