From 6b06a1731b5a47ec37c9e23e301a6390964b812f Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sun, 21 Aug 2022 21:13:29 -0500 Subject: [PATCH] Retrieve data (#10) Co-authored-by: sigonasr2 --- sitefiles/arcade.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sitefiles/arcade.html b/sitefiles/arcade.html index ab20005..8e9ecc2 100644 --- a/sitefiles/arcade.html +++ b/sitefiles/arcade.html @@ -17,7 +17,8 @@ $SITENAME fetch(location).then((data)=>data.text()) .then((data)=>{ var c = document.getElementById(field) - c.innerHTML=data + var split = data.split("\n") + c.innerHTML=split }) } function recentPlays(){