From e4e0cf21a31b74d5ee1e6d45b343ea60ed44f372 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 8 Dec 2017 01:35:26 +0100 Subject: hootbox stuff --- public/assets/js/lib/views/index/threadbox.js | 1 + 1 file changed, 1 insertion(+) (limited to 'public/assets/js/lib/views/index/threadbox.js') diff --git a/public/assets/js/lib/views/index/threadbox.js b/public/assets/js/lib/views/index/threadbox.js index 0c6a4be..8d8cb02 100644 --- a/public/assets/js/lib/views/index/threadbox.js +++ b/public/assets/js/lib/views/index/threadbox.js @@ -35,6 +35,7 @@ var ThreadBox = View.extend({ }, parse: function(thread){ + if (thread.comment_count === undefined) return "" var views = hush_views(thread.viewed) var size = hush_size(thread.size) var comments = hush_null(thread.comment_count, "c") -- cgit v1.2.3-70-g09d2