From 99c057f1ee3a38d9716b6fdd759f6475bd74cef1 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 5 Dec 2013 11:53:27 +0000 Subject: [PATCH] Use correct value from status. --- assets/js/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } });