diff --git a/javascript/commenting.js b/javascript/commenting.js index a49e1a0..4f46d6b 100644 --- a/javascript/commenting.js +++ b/javascript/commenting.js @@ -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);