summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-08 11:22:26 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-08 11:22:26 +0100
commit28d026a9a61a820d054d8562eaaa0e2c82dd84be (patch)
treec8e351f49213121dab30bd483cd8e4d29cfceb59 /play.js
parent6310dbf8ea1d74f919881f2e3a71b25a82a6b086 (diff)
download1989-dawn-of-freedom-28d026a9a61a820d054d8562eaaa0e2c82dd84be.tar.gz
add button to toggle markers
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.js b/play.js
index 55eb2b4..290c9b1 100644
--- a/play.js
+++ b/play.js
@@ -1150,3 +1150,7 @@ function toggle_discard() {
function toggle_removed() {
document.getElementById("removed_panel").classList.toggle("hide")
}
+
+function toggle_pieces() {
+ document.getElementById("markers").classList.toggle("hide")
+}