From f0049c7f06a03727ba9a0ca5aaf83a3fa5488a5d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 28 May 2019 17:07:45 -0600 Subject: [PATCH] better param parsing --- lib/html/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/html/js/app.js b/lib/html/js/app.js index 52631d6..3eef65a 100644 --- a/lib/html/js/app.js +++ b/lib/html/js/app.js @@ -3,7 +3,7 @@ document.body.hidden = false; -var hash = window.location.hash.substr(1); +var hash = window.location.hash.replace(/^[\/#?]+/, ''); var query = window.location.search; function parseQuery(search) {