From: David ‘Bombe’ Roden Date: Fri, 26 Nov 2010 18:50:05 +0000 (+0100) Subject: Revert parts of 8d8cc8a9cced7cc9171cc09ce0fd024145605d70. X-Git-Tag: 0.3.1-RC3~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=630d39c1db18db07186e6c38d93cd3ea79d316d0;p=Sone.git Revert parts of 8d8cc8a9cced7cc9171cc09ce0fd024145605d70. Of course we still do need the elements, only the click handler was supposed to go. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index a4ad957..ba78d2c 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -618,6 +618,7 @@ function loadNewPost(postId) { return false; } }); + newPost = $(data.post.html).addClass("hidden"); if (firstOlderPost != null) { newPost.insertBefore(firstOlderPost); } else { @@ -646,6 +647,7 @@ function loadNewReply(replyId) { return false; } }); + newReply = $(data.reply.html).addClass("hidden"); if (firstNewerReply != null) { newReply.insertBefore(firstNewerReply); } else {