2012-09-02 02:03:19 +04:00
|
|
|
$ ->
|
|
|
|
$(".track-play").live "click", (e) ->
|
|
|
|
e.preventDefault()
|
|
|
|
id = parseInt($(this).parent().data("id"), 10)
|
|
|
|
BH.Player.tracks.get(id).play()
|
2012-09-02 02:38:28 +04:00
|
|
|
$(".track-pause").live "click", (e) ->
|
|
|
|
e.preventDefault()
|
|
|
|
id = parseInt($(this).parent().data("id"), 10)
|
|
|
|
BH.Player.tracks.get(id).pause()
|