diff options
Diffstat (limited to 'public/assets/js/lib/views/stream/hootstream.js')
| -rw-r--r-- | public/assets/js/lib/views/stream/hootstream.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index 57009fd..ebef14a 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -67,8 +67,10 @@ var HootStream = View.extend({ }, onClickAction: function (event) { - const action = $(event.target).data("action"); - const thread = $(event.target).closest(".threadTitle").data("thread"); + const action = $(event.currentTarget).data("action"); + const thread = $(event.currentTarget) + .closest(".threadTitle") + .data("thread"); console.log(action, thread); switch (action) { case "play": |
