X-Git-Url: http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=blobdiff_plain;f=theme%2Fstatic%2Fjs%2Fcomment_counts.js;fp=theme%2Fstatic%2Fjs%2Fcomment_counts.js;h=3bb58664a3dd5ae8d72a9a2381ad3134324130ee;hp=ced469a0efb0c082fb03111fe7f64be776a148d4;hb=8724eb8d6b05bce4ac65d29f237790dba56b82d2;hpb=c9201f74e57b28b539128380b87656bbcbacca7a diff --git a/theme/static/js/comment_counts.js b/theme/static/js/comment_counts.js index ced469a..3bb5866 100644 --- a/theme/static/js/comment_counts.js +++ b/theme/static/js/comment_counts.js @@ -18,7 +18,7 @@ function placeCommentCounts() { for (let [i, container] of containers.entries()) { let a = document.createElement('a'); let count = counts[i]; - if count === 0 { + if (count === 0) { count = "no"; } let pluralizer = count === 1 ? "" : "s";