better param parsing

This commit is contained in:
AJ ONeal 2019-05-28 17:07:45 -06:00
parent b5d57817cf
commit f0049c7f06
1 changed files with 1 additions and 1 deletions

View File

@ -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) {