summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/play.js b/play.js
index 3a5ecb5..62838bb 100644
--- a/play.js
+++ b/play.js
@@ -647,6 +647,7 @@ function build_map() {
let w = calendar_boxes[name][2]
let h = calendar_boxes[name][3]
calendar_xy[i] = [ x, y ]
+
let e = ui.calendar[i] = document.createElement("div")
e.className = "calendar box " + name
e.style.left = x + "px"
@@ -656,9 +657,6 @@ function build_map() {
document.getElementById("boxes").appendChild(e)
}
- for (let i = 1; i <= 16; ++i)
- register_action(ui.calendar[i], "calendar", i)
-
for (let i = 0; i <= 45; ++i) {
let name = "track" + i
let x = 0, y = 0