From bf0bc421cdf5ac280d149f53d8f6f41b1c671774 Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Sat, 8 Jul 2023 22:33:49 -0400 Subject: [PATCH] add link to thumbnail fixes #19, load more error display --- public/utils.js | 3 ++- templates/post.html | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/utils.js b/public/utils.js index 0ed006a..fa7b05f 100644 --- a/public/utils.js +++ b/public/utils.js @@ -129,7 +129,8 @@ function loadMore(e) { } }, function(res) { - e.target.outerHTML = '' + e.target.outerHTML = '' + document.getElementById("loadmore").className = "show" } ) return false; diff --git a/templates/post.html b/templates/post.html index 03663b7..c0763ec 100644 --- a/templates/post.html +++ b/templates/post.html @@ -21,7 +21,11 @@ {{ end }} {{ if ne .State.Op "vote_post" }} -
+
+ +
+
+