summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-20 17:03:04 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit89c7c9a9b45cbd89bb1eaea40c7b4dad3765f094 (patch)
tree3d192dfc5a5b4c0be15eb8047758e97816deda56 /ui.js
parentc6243b85e953ad16723977691d7617a49d181c8f (diff)
download300-earth-and-water-89c7c9a9b45cbd89bb1eaea40c7b4dad3765f094.tar.gz
Use ID instead of class for map and mapwrap.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
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)