summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/play.js b/play.js
index 7896724..6948f1d 100644
--- a/play.js
+++ b/play.js
@@ -494,6 +494,7 @@ function make_fate_card(fc) {
e.className = "card fate reverse"
else
e.className = "card fate c" + fc
+ e.onclick = on_click_fate_card
return e
}
@@ -701,6 +702,10 @@ function on_blur_piece() {
ui.status.textContent = ""
}
+function on_click_fate_card(evt) {
+ evt.target.classList.toggle("zoom")
+}
+
/* UPDATE UI */
function layout_general_offset(g, s) {