BUGFIX pagination ajax loading was doubling up on elements

This commit is contained in:
Shea Dawson 2013-02-20 15:08:54 +11:00 committed by Will Rossiter
parent 4c5d7cd32b
commit b1bc0c713b

View File

@ -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) {