X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=1944efef4a8fcc200352ccc17300b8bf148d7a63;hp=bc7d7ead3295f36e53f207ee185dbb186a7931c5;hb=998958fbec4c4ae0aa1b856d031254b84523ab4c;hpb=c982297d89151da914a98534f8cc3ae070112366 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index bc7d7ea..1944efe 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -694,7 +694,7 @@ function loadNewPost(postId) { if (firstOlderPost != null) { newPost.insertBefore(firstOlderPost); } else { - $("#sone .post:last").append(newPost); + $("#sone #posts").append(newPost); } ajaxifyPost(newPost); newPost.slideDown();