From 5a697b0a4fb2578a98a1b8e064ebe62dad9616e2 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Wed, 26 Oct 2022 18:59:11 +0200 Subject: missing thread? --- public/assets/js/lib/views/stream/hootstream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ["
Missing thread!
"]; -- cgit v1.2.3-70-g09d2