projects
/
pokerwave.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839fe81
)
s/Bets 0/Checks
author
Geoffrey Allott
<geoffrey@allott.email>
Wed, 24 May 2023 21:26:51 +0000
(22:26 +0100)
committer
Geoffrey Allott
<geoffrey@allott.email>
Wed, 24 May 2023 21:26:51 +0000
(22:26 +0100)
site/modules/chatroom.js
patch
|
blob
|
history
diff --git
a/site/modules/chatroom.js
b/site/modules/chatroom.js
index a111e1f934acb4ada3b11f356d6f778ecf6398ca..c9f729934584d9c5cfea8dfbad985754e78bec36 100644
(file)
--- a/
site/modules/chatroom.js
+++ b/
site/modules/chatroom.js
@@
-68,7
+68,8
@@
export class Chatroom {
}
break;
case "Bet":
- this.chat.append(this.info_element(user_action.username, "Bets " + user_action.action.chips));
+ const text = user_action.action.chips === 0 ? "Checks" : "Bets " + user_action.action.chips;
+ this.chat.append(this.info_element(user_action.username, text));
break;
case "Fold":
this.chat.append(this.info_element(user_action.username, "Folds"));