mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
BUGFIX pagination ajax loading was doubling up on elements
This commit is contained in:
parent
4c5d7cd32b
commit
b1bc0c713b
@ -152,8 +152,8 @@
|
|||||||
cache: false,
|
cache: false,
|
||||||
success: function(html){
|
success: function(html){
|
||||||
html = $(html);
|
html = $(html);
|
||||||
commentsList.hide().html(html.find('.comments-list:first')).fadeIn();
|
commentsList.hide().html(html.find('.comments-list:first').html()).fadeIn();
|
||||||
pagination.hide().html(html.find('.comments-pagination:first')).fadeIn();
|
pagination.hide().html(html.find('.comments-pagination:first').html()).fadeIn();
|
||||||
commentsList.removeClass('loading');
|
commentsList.removeClass('loading');
|
||||||
},
|
},
|
||||||
failure: function(html) {
|
failure: function(html) {
|
||||||
|
Loading…
Reference in New Issue
Block a user