summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/hootstream.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/lib/views/stream/hootstream.js')
-rw-r--r--public/assets/js/lib/views/stream/hootstream.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js
index 47ed2b9..bfdf5d1 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -42,6 +42,7 @@ var HootStream = View.extend({
// console.log(data, threadLookup, order);
const $els = order.map(
function (item) {
+ // console.log(item.type, item.thread_id);
return item.type === "thread"
? this.renderThread(threadLookup[item.thread_id]).reduce(
($el, $item) => $el.append($item),
@@ -59,7 +60,7 @@ var HootStream = View.extend({
render: (template, object) => {
if (!template) {
- console.log("No template", object);
+ console.error("No template", object);
return $("<div>No template</div>");
}
const rendered = Object.entries(object).reduce(