commit b940e13a8e8cdcf36c94f17a2277f2dd96172e09
parent df9d08e6be87ce2ee2c8fb4f1f48058a80166db0
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 19 Dec 2023 12:00:45 -0500
cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go
@@ -1902,7 +1902,7 @@ func drawPlayerFoldEvent(evt PlayerFoldEvent) (html string) {
idx1Str := itoa(evt.Card1Idx)
idx2Str := itoa(evt.Card2Idx)
transition := fmt.Sprintf(`transition: 1s ease-in-out; transform: translateX(%spx) translateY(%spx) rotateY(%s);`, itoa(BurnStackX), itoa(BurnStackY), BackfacingDeg)
- html = fmt.Sprintf(`<style>#card%s { %s } #card%s { %s }</style>`, idx1Str, transition, idx2Str, transition)
+ html = fmt.Sprintf(`<style>#card%s, #card%s { %s }</style>`, idx1Str, idx2Str, transition)
return
}