FIX: Repositioning in the DOM of the moderation message due to changing the comments to display: table-cell layout

This commit is contained in:
Gordon Anderson 2015-02-12 22:51:16 +07:00
parent c7d91ad6bc
commit 8266d90e33

View File

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