update URL controller (hash)

This commit is contained in:
rolux 2013-02-18 15:24:57 +05:30
parent 4c505974fd
commit ecfd8b5172

View file

@ -137,11 +137,7 @@ pandora.URL = (function() {
if (state.hash && state.hash.query) { if (state.hash && state.hash.query) {
state.hash.query.forEach(function(kv) { state.hash.query.forEach(function(kv) {
try { set[kv.key] = kv.value;
set[kv.key] = JSON.parse(kv.value);
} catch(e) {
set[kv.key] = kv.value;
}
}); });
} }