From a36dbb48be8d2aa42eb0a55dcc23ab6502dd9d52 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 7 Mar 2019 14:53:58 +0000 Subject: [PATCH] Show base URL on scoreboard --- theme/scoreboard.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/scoreboard.html b/theme/scoreboard.html index fcbbc5b..fccae02 100644 --- a/theme/scoreboard.html +++ b/theme/scoreboard.html @@ -111,6 +111,9 @@ function once() { } function init() { + let base = window.location.href.replace("scoreboard.html", "") + document.querySelector("#location").textContent = base + setInterval(once, 60000); once(); } @@ -123,6 +126,7 @@ if (document.readyState === "loading") {

Scoreboard

+