forked from 0x2620/pandora
update URL controller (hash)
This commit is contained in:
parent
4c505974fd
commit
ecfd8b5172
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue