Skip to content

Commit

Permalink
Update smartChute.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
s-marty authored Aug 28, 2020
1 parent 89502fd commit 3c6f64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smartChute.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ const BC = {
}
BC.showComments = dce("div");
BC.showComments.id = 'show-comments';
BC.showComments.innerHTML = '<span class="scripted-link">Show '+ comment_cnt.length +' Comments</span>';
BC.showComments.innerHTML = `<span class="scripted-link">Show ${comment_cnt.length} Comment${comment_cnt.length === 1 ? '' : 's'}</span>`;
BC.showComments.style = "width:100%;height:38px;margin:0px;padding:8px;text-align:center;border-radius:5px;";
container.insertBefore(BC.showComments, comments);
comments.style.display = 'none';
Expand Down

0 comments on commit 3c6f64c

Please sign in to comment.