From 89c7c9a9b45cbd89bb1eaea40c7b4dad3765f094 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 20 Dec 2021 17:03:04 +0100 Subject: Use ID instead of class for map and mapwrap. --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index 630e914..71e3634 100644 --- a/ui.js +++ b/ui.js @@ -642,7 +642,7 @@ function on_card(evt) { } function toggle_markers() { - document.querySelector(".map").classList.toggle("hide_markers"); + document.getElementById("map").classList.toggle("hide_markers"); } if (param_role == GREECE) -- cgit v1.2.3