diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-27 13:31:38 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 5e54ac89de0f48e2042af47fe52ba78e94ebf958 (patch) | |
tree | 425d1156a0ed4f1b52d183a2d0512fc109e680d5 | |
parent | 014b4d855219f1bea72c9678ed6cd9ff15312925 (diff) | |
download | 300-earth-and-water-5e54ac89de0f48e2042af47fe52ba78e94ebf958.tar.gz |
300: Fix Greece map flipping with new URL scheme.
-rw-r--r-- | ui.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -641,8 +641,7 @@ function toggle_markers() { document.querySelector(".map").classList.toggle("hide_markers"); } -player = new URLSearchParams(window.location.search).get("role"); -if (player == GREECE) +if (param_role == GREECE) document.getElementById("map").classList.add("greek"); build_ui(); |