summaryrefslogtreecommitdiff
path: root/public/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js')
-rw-r--r--public/assets/js/lib/views/stream/hootstream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js
index a67f4b8..b0e6f3d 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -92,7 +92,7 @@ var HootStream = View.extend({
return true;
}
const thread = threadLookup[thread_id];
- if (filters.hoots && thread.comments?.length) {
+ if (filters.hoots && thread.comments && thread.comments.length) {
return true;
}
if (