diff options
Diffstat (limited to 'public/assets/js/lib/views/stream/index.js')
| -rw-r--r-- | public/assets/js/lib/views/stream/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/stream/index.js b/public/assets/js/lib/views/stream/index.js index bfd042a..1504554 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -18,6 +18,9 @@ var StreamView = View.extend({ populate: function (data) { $("body").removeClass("loading"); this.data = data; + const { query } = data; + const isHomePage = !(query.thread || query.username || query.keyword); + this.hootform.toggle(isHomePage); this.hootfilters.load(data, this.target); this.hootstream.load(data, this.hootfilters.state); if (data.mail.count) { |
