1
0
mirror of https://github.com/danbee/mpd-client synced 2025-03-04 08:39:09 +00:00

Use correct value from status.

This commit is contained in:
Dan Barber 2013-12-05 11:53:27 +00:00
parent 7fff75c2c0
commit 99c057f1ee

View File

@ -18,7 +18,7 @@ $(document).ready(function() {
};
status.bind('change', function(event, attr, how, newVal, oldVal) {
if (attr == 'songid') {
if (attr == 'song') {
mpdClient.queueSongs.updatePlaying(oldVal, newVal);
}
});