mirror of
https://github.com/balkian/go5ears.git
synced 2024-11-14 02:02:29 +00:00
Download link working
This commit is contained in:
parent
517acf4bce
commit
aded1d0253
@ -75,3 +75,7 @@ text-align: center;
|
||||
.hidden{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.list-controls span {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
@ -217,6 +217,9 @@ $(document).ready(function(){
|
||||
return index+self.group() +" - "+self.title()+" ["+self.quality()+"]";
|
||||
}, this);
|
||||
|
||||
self.downloadSong = function(){
|
||||
window.open("/play?id="+self.id(), self.formattedName());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
<span class="ui-icon ui-icon-play" data-bind="click: $root.playSong, visible: ! isPlaying()">Play</span>
|
||||
<span class="ui-icon ui-icon-pause" data-bind="click: $root.pauseSong, visible: isPlaying()">Play</span>
|
||||
<span class="ui-icon ui-icon-circle-plus" data-bind="click: $root.addSong">Add</span>
|
||||
<span class="ui-icon ui-icon-arrowthickstop-1-s"></span>
|
||||
<span class="ui-icon ui-icon-arrowthickstop-1-s" data-bind="click: downloadSong"></span>
|
||||
</div>
|
||||
<span class="list-name" data-bind="text: formattedName()">
|
||||
Name - Title
|
||||
|
Loading…
Reference in New Issue
Block a user