dkforest

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

commit 2c9e7dfe87a01f73a6c1cf8bb6878c19de578d18
parent 025a169a07d2834f7ae7f3fd677b241071aa23ef
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 28 Dec 2023 16:50:10 -0500

hide first

Diffstat:
Mpkg/web/handlers/api/v1/chat.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pkg/web/handlers/api/v1/chat.go b/pkg/web/handlers/api/v1/chat.go @@ -448,8 +448,7 @@ Loop: s += `</div>` newHash := utils.MD5([]byte(s)) if newHash != prevHash { - s += fmt.Sprintf(`<style>#menu_%d{display:none}</style>`, menuID) - send(s) + send(fmt.Sprintf(`<style>#menu_%d{display:none}</style>`, menuID) + s) c.Response().Flush() prevHash = newHash menuID++