summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-03 15:16:31 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-03 15:16:31 +0200
commit05dd788454593ee36876b876311811bfa510788e (patch)
tree09a8962d7b0e9c85fdca3ad37c7d327c9c4940c8 /play.js
parentd02de4239139dd226105cb79bfd00345093a9193 (diff)
downloadalgeria-05dd788454593ee36876b876311811bfa510788e.tar.gz
area markers bug
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index de8c247..f872790 100644
--- a/play.js
+++ b/play.js
@@ -269,7 +269,7 @@ function create_area(i, area_id, type) {
}
function create_area_markers(i, area_id) {
- let e = ui.areas[i] = document.createElement("div")
+ let e = document.createElement("div")
e.id = `area-marker-${area_id}`
e.dataset.loc = data.areas[i].loc
e.className = "space stack s"