From ffc1459e86e266e350883fda57ed49dea72898c4 Mon Sep 17 00:00:00 2001 From: farr3ll Date: Fri, 30 Nov 2012 06:29:25 +0200 Subject: [PATCH] Issue #23 revision --- e107_web/js/core/front.jquery.js | 6 ++++++ 1 file changed, 6 insertions(+) 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);