diff --git a/javascript/CommentsInterface.js b/javascript/CommentsInterface.js index 4716223..81d089c 100755 --- a/javascript/CommentsInterface.js +++ b/javascript/CommentsInterface.js @@ -10,11 +10,6 @@ form = $('#Form_CommentsForm'), error = $('#Form_CommentsForm_error', form).hide() - // create the not comments message if it doesn't exist yet, but hide it (incase we need it) - if(!noCommentsYet.length){ - noCommentsYet = $('

No one has commented on this page yet.

').appendTo(commentsHolder).hide(); - } - /** * Validate diff --git a/templates/CommentsInterface.ss b/templates/CommentsInterface.ss index 83dc4bd..6ca2b33 100755 --- a/templates/CommentsInterface.ss +++ b/templates/CommentsInterface.ss @@ -52,9 +52,10 @@

<% end_if %> - <% else %> -

<% _t('NOCOMMENTSYET','No one has commented on this page yet.') %>

<% end_if %> + +

style='display: none' <% end_if %> ><% _t('NOCOMMENTSYET','No one has commented on this page yet.') %>

+ <% if DeleteAllLink %>