From ecfd8b5172faba2c8c4e47596f5da4a1b2532d11 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Feb 2013 15:24:57 +0530 Subject: [PATCH] update URL controller (hash) --- static/js/pandora/URL.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index 41502b5b..4fb47a6d 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -137,11 +137,7 @@ pandora.URL = (function() { if (state.hash && state.hash.query) { state.hash.query.forEach(function(kv) { - try { - set[kv.key] = JSON.parse(kv.value); - } catch(e) { - set[kv.key] = kv.value; - } + set[kv.key] = kv.value; }); }