From f6eecc720abaefb954fda9a26aab78bb1d706ba4 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Wed, 3 Feb 2021 23:50:10 -0800 Subject: sorted board list --- static/npost.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/npost.html') diff --git a/static/npost.html b/static/npost.html index 6c837cf..b91b795 100644 --- a/static/npost.html +++ b/static/npost.html @@ -26,7 +26,7 @@ {{ $replies := (index .Posts 0).Replies }} <span style="float: right;">{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}</span> <div style="width: 500px; margin: 0 auto; text-align: center;"> - <span ><a id="reply-content" href="javascript:quote('{{ $board.Actor }}', '{{ (index .Posts 0).Id }}', 'reply')">[Post a Reply]</a></span> + <span ><a id="reply-content" href="javascript:quote('{{ $board.Actor.Id }}', '{{ (index .Posts 0).Id }}', 'reply')">[Post a Reply]</a></span> </div> <hr> {{ end }} @@ -34,6 +34,6 @@ {{ define "script" }} <script src="/static/js/footerscript.js"></script> <script> - viewLink("{{ .Board.Name }}", "{{ .Board.Actor }}") + viewLink("{{ .Board.Name }}", "{{ .Board.Actor.Id }}") </script> {{ end }} -- cgit v1.2.3