diff --git a/legacy.html b/legacy.html index 82597b7..9a03003 100644 --- a/legacy.html +++ b/legacy.html @@ -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 - ? ` -
- ${section.innerHTML} -
- ` - : "

About

Missing #aboutSection in about.html

"; + ? section.innerHTML + : "

About

Missing proper structure

"; }) .catch(err => { console.error(err);