From: Mike Frysinger Date: Sun, 1 Sep 2013 08:25:04 +0000 (-0400) Subject: update with full state now X-Git-Tag: v3.0~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dbb156e5bb0fd040691865421cb039d8df74aaf4;p=chrome-ext%2Fmusic-player-client.git update with full state now Since mpc will pass us a fully merged state object, use that rather than returning early assuming we have just a partial state. --- diff --git a/main.js b/main.js index 1de6b6a..d107abb 100644 --- a/main.js +++ b/main.js @@ -238,7 +238,6 @@ function update_ui(state, cmd) { if ('file' in state) { // Hack: should be a real object. ui_mpc_metadata.innerText = state['file']; - return; } var time;