+8
post_component.js
+8
post_component.js
···
330
330
stats.append(span);
331
331
}
332
332
333
+
if (this.post.replyCount > 0 && (this.context == 'quotes' || this.context == 'feed')) {
334
+
let pluralizedCount = (this.post.replyCount > 1) ? `${this.post.replyCount} replies` : '1 reply';
335
+
let span = $tag('span', {
336
+
html: `<i class="fa-regular fa-message"></i> <a href="${linkToPostThread(this.post)}">${pluralizedCount}</a>`
337
+
});
338
+
stats.append(span);
339
+
}
340
+
333
341
if (!this.isRoot && this.context != 'quote' && this.post.quoteCount) {
334
342
let quotesLink = this.buildQuotesIconLink(this.post.quoteCount, false);
335
343
stats.append(quotesLink);
+1
-1
skythread.js
+1
-1
skythread.js
···
741
741
742
742
if (replies.length < responses.length) {
743
743
let notFoundCount = responses.length - replies.length;
744
-
let pluralizedCount = notFoundCount + ' ' + ((notFoundCount > 1) ? 'replies are' : 'reply is');
744
+
let pluralizedCount = (notFoundCount > 1) ? `${notFoundCount} replies are` : '1 reply is';
745
745
746
746
let info = $tag('p.missing-replies-info', {
747
747
html: `<i class="fa-solid fa-ban"></i> ${pluralizedCount} missing (likely taken down by moderation)`