summaryrefslogtreecommitdiff
path: root/public/assets
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-28 14:16:50 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-28 14:16:50 +0200
commitd5592cb01e3a779875211a9b448bc7c20d070839 (patch)
tree11a35803a43ed94840d984060a8e50d38926d3c8 /public/assets
parenta71cc9a88b5eff9724bddcd416931159e1a016db (diff)
comment form working
Diffstat (limited to 'public/assets')
-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 a12ea39..1ab9725 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -172,7 +172,7 @@ var HootStream = View.extend({
...current,
thread: [
{
- ...current.thread,
+ ...current.thread[0],
file_count:
current.file_count + (data.files ? data.files.length : 0),
comment_count: current.comment_count + (data.comment ? 1 : 0),