1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

Update commentform,js

This commit is contained in:
Daniel Supernault 2018-10-17 12:40:39 -06:00
parent f7b3263ab3
commit a74b20324b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -35,9 +35,9 @@ $(document).ready(function() {
var comments = el.parents().eq(1).find('.comments');
}
var comment = '<p class="mb-0"><span class="font-weight-bold pr-1"><bdi><a class="text-dark" href="' + profile + '">' + username + '</a></bdi></span><span class="comment-text">'+ reply + '</span><span class="float-right"><a href="' + permalink + '" class="text-dark small font-weight-bold">1s</a></span></p>';
var comment = '<p class="mb-2"><span class="font-weight-bold pr-1"><bdi><a class="text-dark" href="' + profile + '">' + username + '</a></bdi></span><span class="comment-text">'+ reply + '</span></p>';
comments.append(comment);
comments.prepend(comment);
commentform.val('');
commentform.blur();