From dbb156e5bb0fd040691865421cb039d8df74aaf4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 1 Sep 2013 04:25:04 -0400 Subject: [PATCH] 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. --- main.js | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.2