diff --git a/e107_web/js/core/front.jquery.js b/e107_web/js/core/front.jquery.js index 54018c1bf..33b8b4cb1 100644 --- a/e107_web/js/core/front.jquery.js +++ b/e107_web/js/core/front.jquery.js @@ -56,6 +56,12 @@ $(document).ready(function() $("#comment").val(''); + if($('#comments-container').length){ + alert('true'); + }else{ + $("#e-comment-form").parent().prepend("
"); + } + if(pid != 0) { $('#comment-'+pid).after(a.html).hide().slideDown(800);