diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-10-27 17:42:10 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-10-27 17:42:10 +0200 |
| commit | 515d432e5143abc4c12193568b3a6f8461b64242 (patch) | |
| tree | 7b35212a427305e501e245d463ba64a0f761f84f /public/assets/js/lib/views/stream/index.js | |
| parent | 77e4a4a015ef7d1d338f7badb68efab83f19de4d (diff) | |
render
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) { |
