dkforest

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

commit 115dd4ef532047dfddd382187d080e2979339cd8
parent d569bbbf0b77482669b4f97e945e015d61943dc0
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sat, 17 Jun 2023 05:59:57 -0700

pgn textarea readonly

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -489,7 +489,7 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator {{ end }} </td> </tr> - {{ if .GameOver }}<tr><td colspan="2"><div><textarea>{{ .PGN }}</textarea></div></td></tr>{{ end }} + {{ if .GameOver }}<tr><td colspan="2"><div><textarea readonly>{{ .PGN }}</textarea></div></td></tr>{{ end }} {{ if .Stats }} <tr> <td colspan="2">