From 94aec9cc0ec5b4a8c4b29c376639f637891b10b2 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 4 Oct 2014 21:32:44 +0200 Subject: [PATCH] Fixed first comment not showing in comment list --- public_html/js/Presenters/PostCommentListPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/PostCommentListPresenter.js b/public_html/js/Presenters/PostCommentListPresenter.js index a02d2894..6a19e1e2 100644 --- a/public_html/js/Presenters/PostCommentListPresenter.js +++ b/public_html/js/Presenters/PostCommentListPresenter.js @@ -157,7 +157,7 @@ App.Presenters.PostCommentListPresenter = function( } else { comments.push(comment); } - renderComments(comments, true); + render(); }).fail(function(response) { window.alert(response.json && response.json.error || response); });