pressing enter makes new paragraph after image/video
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / comments / comment.html
index 3e9fb28..ca15b77 100644 (file)
@@ -1,8 +1,10 @@
 <div class="comment">
-    <div class="header">
-        <span class="author"><%= author %></span>
-        <span class="date"><%= date %></span>
-    </div>
+    <% if(author || date) { %>
+        <div class="header">
+            <span class="author"><%= author %></span>
+            <span class="date"><%= date %></span>
+        </div>
+    <% } %>
     <div style="clear: both"></div>
     <div class="content">
         <%= content %>