commit 4442f8445fa4f1890e8cb89e943f0bcf08baf8e0 parent ee6832daf0589261b94ce356b7290fc97a81dda3 Author: n0tr1v <n0tr1v@protonmail.com> Date: Fri, 8 Dec 2023 20:03:11 -0500 cleanup Diffstat:
| M | pkg/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 @@ -1192,8 +1192,10 @@ func buildSeatsHtml(g *PokerGame) string { seats += `<div id="seat` + itoa(i+1) + `_cash"></div>` seats += `<div id="seat` + itoa(i+1) + `Pot"></div>` if p != nil { - seats += `<style>#seat` + itoa(i+1) + `:before { content: "` + p.Username + `"; }</style>` - seats += `<style>#seat` + itoa(i+1) + `_cash:before { content: "` + itoa(p.getDisplayCash(g)) + `"; }</style>` + seats += `<style>` + seats += `#seat` + itoa(i+1) + `:before { content: "` + p.Username + `"; }` + seats += `#seat` + itoa(i+1) + `_cash:before { content: "` + itoa(p.getDisplayCash(g)) + `"; }` + seats += `</style>` } } seats += `