From b1bc0c713b73fcad867efdee64cd36689406f7c5 Mon Sep 17 00:00:00 2001 From: Shea Dawson Date: Wed, 20 Feb 2013 15:08:54 +1100 Subject: [PATCH] BUGFIX pagination ajax loading was doubling up on elements --- javascript/CommentsInterface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/CommentsInterface.js b/javascript/CommentsInterface.js index f451eb6..c8fa058 100755 --- a/javascript/CommentsInterface.js +++ b/javascript/CommentsInterface.js @@ -152,8 +152,8 @@ cache: false, success: function(html){ html = $(html); - commentsList.hide().html(html.find('.comments-list:first')).fadeIn(); - pagination.hide().html(html.find('.comments-pagination:first')).fadeIn(); + commentsList.hide().html(html.find('.comments-list:first').html()).fadeIn(); + pagination.hide().html(html.find('.comments-pagination:first').html()).fadeIn(); commentsList.removeClass('loading'); }, failure: function(html) {