Skip to content

Commit

Permalink
Fixed bug again.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelcp1 committed May 28, 2021
1 parent 4065448 commit 713bfb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/jquery-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,7 @@

if(commentModel.createdByCurrentUser || this.options.currentUserIsAdmin) {
var editButton = $('<button/>', {
'type': 'button',
'class': 'action edit',
text: this.options.textFormatter(this.options.editText)
});
Expand Down Expand Up @@ -2008,6 +2009,7 @@

// Upvotes
var upvoteEl = $('<button/>', {
'type': 'button',
'class': 'action upvote' + (commentModel.userHasUpvoted ? ' highlight-font' : '')
}).append($('<span/>', {
text: commentModel.upvoteCount,
Expand Down

0 comments on commit 713bfb6

Please sign in to comment.