diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 4f0f99da2..0973b3798 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -235,9 +235,9 @@ Ox.load('UI', { vars.forEach(function(v) { v = v.split('='); query[v[0]] = decodeURIComponent(v[1]); - if (query[v[0]] == 'false') { - query[v[0]] = false; - } + query[v[0]] = { + 'true': true, 'false': false + }[query[v[0]]] || query[v[0]]; }); return Ox.extend({}, defaults, query);