Update index.html
Browse files- index.html +1 -3
index.html
CHANGED
|
@@ -31,8 +31,6 @@
|
|
| 31 |
|
| 32 |
let oauthResult = localStorage.getItem("oauth");
|
| 33 |
|
| 34 |
-
console.log("localStorage", localStorage)
|
| 35 |
-
|
| 36 |
if (oauthResult) {
|
| 37 |
try {
|
| 38 |
oauthResult = JSON.parse(oauthResult);
|
|
@@ -45,7 +43,7 @@
|
|
| 45 |
|
| 46 |
if (oauthResult) {
|
| 47 |
document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
|
| 48 |
-
localStorage.setItem("oauth", oauthResult);
|
| 49 |
document.getElementById("signout").style.removeProperty("display");
|
| 50 |
document.getElementById("signout").onClick = async function() {
|
| 51 |
localStorage.removeItem("oauth");
|
|
|
|
| 31 |
|
| 32 |
let oauthResult = localStorage.getItem("oauth");
|
| 33 |
|
|
|
|
|
|
|
| 34 |
if (oauthResult) {
|
| 35 |
try {
|
| 36 |
oauthResult = JSON.parse(oauthResult);
|
|
|
|
| 43 |
|
| 44 |
if (oauthResult) {
|
| 45 |
document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
|
| 46 |
+
localStorage.setItem("oauth", JSON.stringify(oauthResult));
|
| 47 |
document.getElementById("signout").style.removeProperty("display");
|
| 48 |
document.getElementById("signout").onClick = async function() {
|
| 49 |
localStorage.removeItem("oauth");
|