mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Add title to audio element
This commit is contained in:
parent
5b496915a6
commit
7e67d5db59
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ export default {
|
|||
this.app.$broadcast('song:played', song);
|
||||
|
||||
$('title').text(`${song.title} ♫ Koel`);
|
||||
$('.player audio').attr('title', `${song.album.artist.name} - ${song.title}`);
|
||||
|
||||
this.player.restart();
|
||||
this.player.play();
|
||||
|
|
Loading…
Reference in a new issue