From 68f60579b7f25d7768c1cbb7a60ebb40f306639a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 13 Jan 2011 15:51:54 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20show=20posts=20that=20are=20olde?= =?utf8?q?r=20than=20the=20last=20post=20on=20the=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/javascript/sone.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index ca087fa..a3e79cd 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -735,8 +735,6 @@ function loadNewPost(postId, soneId, recipientId) { newPost = $(data.post.html).addClass("hidden"); if (firstOlderPost != null) { newPost.insertBefore(firstOlderPost); - } else { - $("#sone #posts").append(newPost); } ajaxifyPost(newPost); newPost.slideDown(); -- 2.7.4