Keep the name "paramsStr"

This commit is contained in:
Ben Schwartz 2018-10-24 17:18:11 -04:00
parent f2449b5fbf
commit 7430d2bb2b

View file

@ -135,9 +135,9 @@ export function runOauth(): OauthSession {
<input id="params" type="hidden" name="params"></input>
</form>
<script>
var params = location.hash.substr(1);
var paramsStr = location.hash.substr(1);
var form = document.getElementById("form");
document.getElementById("params").setAttribute("value", params);
document.getElementById("params").setAttribute("value", paramsStr);
form.submit();
</script>
</body>