diff --git a/door_closed.html b/door_closed.html index ee456e2b47fc7f0210daea5689257060ec862b30..b74178ae870ad264ba434bcad47436aa9e6ed020 100644 --- a/door_closed.html +++ b/door_closed.html @@ -1,6 +1,7 @@ <!doctype html> <html lang="en"> <head> + <meta charset="utf-8"> <title>UCC Door Status</title> </head> <body> @@ -12,7 +13,7 @@ height="1020" alt="A plain image of the UCC door. Surely nothing sinister lies within..." title="A plain image of the UCC door. Surely nothing sinister lies within..." - ></img> + > </body> </html> diff --git a/door_open.html b/door_open.html index 0c06cd48333839f4ac056c34cc6ed2ac7ee1f3b4..db5e592f3111161f927b634467c95c0d0b7e3480 100644 --- a/door_open.html +++ b/door_open.html @@ -1,16 +1,8 @@ <!doctype html> <html lang="en"> <head> + <meta charset="utf-8"> <title>UCC Door Status</title> - <script defer> - fetch('/opener').then(response => { - response.json().then(opener => { - if (opener) { - document.getElementById('opener').innerText = opener; - } - }); - }); - </script> </head> <body> <h1>UCC Door Status</h1> @@ -22,7 +14,16 @@ height="1020" alt="A wild Gary lurking in the open doorway to the UCC clubroom." title="A wild Gary lurking in the open doorway to the UCC clubroom." - ></img> + > + <script> + fetch('/opener').then(response => { + response.json().then(opener => { + if (opener) { + document.getElementById('opener').innerText = opener; + } + }); + }); + </script> </body> </html> diff --git a/door_unavail.html b/door_unavail.html index fd8eaec7c0bcfded536a591a4eb5f42e688bd962..5ea836b2c444a221a54da3a153d7aa6974bca600 100644 --- a/door_unavail.html +++ b/door_unavail.html @@ -1,6 +1,7 @@ <!doctype html> <html lang="en"> <head> + <meta charset="utf-8"> <title>UCC Door Status</title> </head> <body>