dkforest

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

commit 338ee75be6077d19902a1747308e92b0a10a2d6d
parent bf10f717b1a12467561d176e56805dd0aff3bb45
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Tue,  5 Dec 2023 17:04:03 -0500

cleanup

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

diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go @@ -1055,8 +1055,8 @@ Loop: html := `<style>` html += `#card` + strconv.Itoa(evt.Cards[0].Idx) + ` { transition: 1s ease-in-out; transform: rotateY(0); }` html += `#card` + strconv.Itoa(evt.Cards[1].Idx) + ` { transition: 1s ease-in-out; transform: rotateY(0); }` - html += `#card` + strconv.Itoa(evt.Cards[0].Idx) + `:before { content: "` + evt.Cards[0].Name + `"; color: ` + colorForCard(evt.Cards[0].Name) + `; }` - html += `#card` + strconv.Itoa(evt.Cards[1].Idx) + `:before { content: "` + evt.Cards[1].Name + `"; color: ` + colorForCard(evt.Cards[1].Name) + `; }` + html += `#card` + strconv.Itoa(evt.Cards[0].Idx) + ` .card .inner:before { content: "` + evt.Cards[0].Name + `"; color: ` + colorForCard(evt.Cards[0].Name) + `; }` + html += `#card` + strconv.Itoa(evt.Cards[1].Idx) + ` .card .inner:before { content: "` + evt.Cards[1].Name + `"; color: ` + colorForCard(evt.Cards[1].Name) + `; }` html += `</style>` send(html) c.Response().Flush()