Skip to content

Commit c068051

Browse files
committed
keydown didn't work
1 parent 8ae215f commit c068051

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cljs/nr/gameboard/player_stats.cljs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
[:div [:label [:input {:type "checkbox"
101101
:value true
102102
:checked trash-like-cards
103-
:on-key-down #(when (= "`" (.-key %)) (toggle-offer-trash %))
104103
:on-click toggle-offer-trash}]
105104
(tr [:game.trash-like-cards "Offer to trash like cards"])]]))]))))
106105

@@ -124,7 +123,6 @@
124123
[:div [:label [:input {:type "checkbox"
125124
:value true
126125
:checked trash-like-cards
127-
:on-key-down #(when (= "`" (.-key %)) (toggle-offer-trash %))
128126
:on-click toggle-offer-trash}]
129127
(tr [:game.trash-like-cards "Offer to trash like cards"])]]))]))))
130128

0 commit comments

Comments
 (0)