better param parsing
This commit is contained in:
parent
b5d57817cf
commit
f0049c7f06
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
document.body.hidden = false;
|
document.body.hidden = false;
|
||||||
|
|
||||||
var hash = window.location.hash.substr(1);
|
var hash = window.location.hash.replace(/^[\/#?]+/, '');
|
||||||
var query = window.location.search;
|
var query = window.location.search;
|
||||||
|
|
||||||
function parseQuery(search) {
|
function parseQuery(search) {
|
||||||
|
|
Loading…
Reference in New Issue