diff --git a/assets/js/application.js b/assets/js/application.js index 7352eb4..839d7fb 100644 --- a/assets/js/application.js +++ b/assets/js/application.js @@ -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); } });