diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-08 07:19:51 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-08 07:19:51 +0100 |
commit | 5565a75d9314237ad1f9e4d6bea1ed756e163dbe (patch) | |
tree | d1883eee6825c4236d0fe6dd34e0a5f7d2a607ec /play.js | |
parent | 5103d59ddc92d0fb994cea7365c3fef8a5d743af (diff) | |
download | 1989-dawn-of-freedom-5565a75d9314237ad1f9e4d6bea1ed756e163dbe.tar.gz |
Fix for mobiles
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ const spaceCharacteristicsElement = document.getElementById('space-characteristi hand_card.id=`card_${c}`;
hand_card.src = `cards/e${c}.gif`
hand_card.my_card = c;
- hand_card.addEventListener('mousedown', on_click_card);
+ hand_card.addEventListener('click', on_click_card);
if(!is_mobile) {
hand_card.addEventListener('mouseenter', () => {
|