mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
fixed volume problem with mpd controls
This commit is contained in:
parent
939ccaa4fb
commit
fcd55568c5
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ function handleStateChange() {
|
|||
case 'action' : break;
|
||||
case 'volume' :
|
||||
var vol = el.firstChild.data;
|
||||
document.getElementsByName ('volume').item(0).firstChild.data = vol;
|
||||
document.getElementsByName ('volume').firstChild.data = vol;
|
||||
break;
|
||||
case 'mpd_cur_track_pos' :
|
||||
mpd_elapsed = Math.floor(el.firstChild.data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue