mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
Fixed nav in now playing
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
className: "now-playing"
|
||||
|
||||
events: {
|
||||
"click #now-playing-wrapper": "openMix",
|
||||
"click #now-playing-play": "doPlay",
|
||||
"click #now-playing-pause": "doPause"
|
||||
}
|
||||
@@ -24,6 +25,9 @@
|
||||
@mixPlay()
|
||||
true
|
||||
|
||||
openMix: ->
|
||||
App.Router.navigate(@model.get("item_url"), true)
|
||||
|
||||
mixPause: (model) ->
|
||||
console.log "NowPlayingView: mixPause"
|
||||
$('#now-playing-play', @el).show()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="profile-activity clearfix">
|
||||
<div class="profile-activity clearfix" id="now-playing-wrapper">
|
||||
<div>
|
||||
<img class="pull-left" alt="Alex Doe's avatar" src="<%= mix_image %>">
|
||||
<a class="user" href="#"><%= user_name %></a>
|
||||
|
||||
Reference in New Issue
Block a user