dkforest

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

commit f4df4091b05e425a136a11c599b714fe5bd9e7b7
parent b689d8650b046ddc294b375e049f6e35a8122443
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Tue, 23 May 2023 20:00:25 -0700

fix manul refresh popup

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

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -4958,7 +4958,7 @@ Loop: _, _ = c.Response().Write([]byte(`<style>#manualrefresh{animation: none;}</style>`)) c.Response().Flush() utils.SGo(func() { - time.Sleep(10 * time.Millisecond) + time.Sleep(100 * time.Millisecond) _, _ = c.Response().Write([]byte(`<style>#manualrefresh{animation: timeout_messages 30s forwards;}</style>`)) c.Response().Flush() })