1
0
Fork 0
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:
Karl 'vollmerk' Vollmer 2006-01-03 20:37:07 +00:00
parent 939ccaa4fb
commit fcd55568c5
2 changed files with 2 additions and 2 deletions

View file

@ -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);