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, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/index.js b/public/assets/js/lib/views/stream/index.js index e961fc2..bfd042a 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -10,6 +10,7 @@ var StreamView = View.extend({ load: function ({ ...target }) { $("body").addClass("index"); + this.target = target; console.log("target", target); $.get(this.action, target, this.populate.bind(this)); }, @@ -17,7 +18,7 @@ var StreamView = View.extend({ populate: function (data) { $("body").removeClass("loading"); this.data = data; - this.hootfilters.load(data); + this.hootfilters.load(data, this.target); this.hootstream.load(data, this.hootfilters.state); if (data.mail.count) { $(".alert") |
