Fix hash parsing

On my browser, the app doesn't work if you pass a hash parameter, because `hash` is URL-encoded. This change fixes the problem.
This commit is contained in:
CapacitorSet 2017-01-14 11:52:12 +01:00 committed by GitHub
parent c82d6eb932
commit bd056a5105

View File

@ -255,7 +255,7 @@ var settings = {
title : "Gui Hacker",
gui : true
},
hash = document.location.hash.substring(1),
hash = decodeURIComponent(document.location.hash.substring(1)),
userSettings = {};
if (hash){