summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7f4ff88..ed6de22 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -120,7 +120,7 @@ var HootStream = View.extend({
},
renderThread: function ({ thread, comments, files, images }) {
- if (!thread?.length) {
+ if (!thread || !thread.length) {
console.error("Missing thread");
console.error(thread, comments, files, images);
return ["<div>Missing thread!</div>"];