summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/hootstream.js
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-11-02 15:18:52 +0100
committerjulian laplace <julescarbon@gmail.com>2022-11-02 15:18:52 +0100
commitd789906d2f905cdcc92e40d9154db91195541b14 (patch)
tree8a40539bc6a69f6c4d647f8c31d81745fe8601db /public/assets/js/lib/views/stream/hootstream.js
parentbfb3c36659821fc1dfa3ae1617207b4e5099954a (diff)
form stuff
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, 3 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js
index ebef14a..cde591c 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -320,6 +320,9 @@ var HootStream = View.extend({
}.bind(this)
);
this.$hootevents.empty();
+ this.$el.toggleClass("streamThread", !!data.query.thread);
+ this.$el.toggleClass("streamKeyword", !!data.query.username);
+ this.$el.toggleClass("streamUser", !!data.query.keyword);
this.$hootevents.append($els);
audio.init();
},