dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit ee6832daf0589261b94ce356b7290fc97a81dda3
parent 1f7b4fc4b9e1aeed1492381ba44e3aed8fe4ddbb
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri,  8 Dec 2023 20:02:00 -0500

cleanup

Diffstat:
Mpkg/web/handlers/poker/poker.go | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -1206,8 +1206,10 @@ func drawErrorMsgEvent(evt ErrorMsgEvent) string { } func drawPlayerBetEvent(evt PlayerBetEvent) (html string) { - html += `<style>#seat` + itoa(evt.PlayerIdx+1) + `Pot:before { content: "` + itoa(evt.TotalBet) + `"; }</style>` - html += `<style>#seat` + itoa(evt.PlayerIdx+1) + `_cash:before { content: "` + itoa(evt.Cash) + `"; }</style>` + html += `<style>` + html += `#seat` + itoa(evt.PlayerIdx+1) + `Pot:before { content: "` + itoa(evt.TotalBet) + `"; }` + html += `#seat` + itoa(evt.PlayerIdx+1) + `_cash:before { content: "` + itoa(evt.Cash) + `"; }` + html += `</style>` return }