From dd6189378cbc4c8ad22b95951b103880dd39060d Mon Sep 17 00:00:00 2001 From: sageman_ Date: Sat, 3 Jul 2021 14:30:14 +0200 Subject: Implement auto-reload functionality A constant 5 second reload interval instead of increasing the reload intervals by 5 seconds every time so that the user does not miss any time sensitive posts. This also works with the invalid captcha patch. --- static/npost.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static/npost.html') diff --git a/static/npost.html b/static/npost.html index 740018b..3df4090 100644 --- a/static/npost.html +++ b/static/npost.html @@ -17,6 +17,7 @@ {{ end }} + {{ end }} {{ define "content" }} @@ -39,6 +40,7 @@
  • [Catalog]
  • [Top]
  • [Refresh]
  • +
  • Auto refresh
  • {{ $replies := (index .Posts 0).Replies }} {{ $replies.TotalItems }} / {{ $replies.TotalImgs }} -- cgit v1.2.3