From a74b20324bd8ff8503dc517e1215f8e50742c5c7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 17 Oct 2018 12:40:39 -0600 Subject: [PATCH] Update commentform,js --- resources/assets/js/components/commentform.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/commentform.js b/resources/assets/js/components/commentform.js index c9d4f9477..3f0482718 100644 --- a/resources/assets/js/components/commentform.js +++ b/resources/assets/js/components/commentform.js @@ -35,9 +35,9 @@ $(document).ready(function() { var comments = el.parents().eq(1).find('.comments'); } - var comment = '

' + username + ''+ reply + '1s

'; + var comment = '

' + username + ''+ reply + '

'; - comments.append(comment); + comments.prepend(comment); commentform.val(''); commentform.blur();