This commit is contained in:
AlecM33
2022-01-25 18:45:06 -05:00
parent 2c9e7c14f8
commit f9aa9e061a
3 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ function attemptToJoinGame (code) {
)
.then((res) => {
if (res.status === 200) {
let json = JSON.parse(res.content);
const json = JSON.parse(res.content);
window.location = window.location.protocol + '//' + window.location.host +
'/join/' + encodeURIComponent(json.accessCode) +
'?playerCount=' + encodeURIComponent(json.playerCount) +
@@ -45,7 +45,7 @@ function attemptToJoinGame (code) {
});
}
function getTimeString(timerParams) {
function getTimeString (timerParams) {
let timeString = '';
if (timerParams) {
const hours = timerParams.hours;