6 lines
155 B
CoffeeScript
Raw Normal View History

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()