X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=748213866eaf9498797b03aae9a5621f93cab5f4;hb=baab11d2dcb67dd8f6e6b0e71a8bfac4cfaa791a;hp=f3ea9e83e4483a67828d365c68455f84b625e53a;hpb=945df2c5ed34ba5be654b2a084ade589a3125067;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index f3ea9e8..7482138 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -664,7 +664,7 @@ function loadNewPost(postId) { if (firstOlderPost != null) { newPost.insertBefore(firstOlderPost); } else { - $("#sone #posts").append(newPost); + $("#sone .post:last").append(newPost); } ajaxifyPost(newPost); newPost.slideDown();