mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX: Repositioning in the DOM of the moderation message due to changing the comments to display: table-cell layout
This commit is contained in:
parent
c7d91ad6bc
commit
8266d90e33
@ -66,7 +66,7 @@
|
||||
setTimeout(function() {msg.fadeOut(3000);},2000);
|
||||
} else {
|
||||
// a reply
|
||||
newcomment.prepend(msg);
|
||||
newcomment.parent().prepend(msg);
|
||||
$('body,html').animate({
|
||||
scrollTop: newcomment.offset().top - 30
|
||||
}, 200);
|
||||
|
Loading…
Reference in New Issue
Block a user