Spaces:
Runtime error
Runtime error
sara.mesquita commited on
Commit ·
cd9fe7c
1
Parent(s): c5a7865
fix: reset onboarding key to show new 4-step version
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -389,7 +389,7 @@
|
|
| 389 |
let obStep = 0;
|
| 390 |
const OB_TOTAL = 4;
|
| 391 |
|
| 392 |
-
if (localStorage.getItem('
|
| 393 |
splashEl.style.display = 'none';
|
| 394 |
}
|
| 395 |
|
|
@@ -401,7 +401,7 @@
|
|
| 401 |
}
|
| 402 |
|
| 403 |
function obDismiss() {
|
| 404 |
-
localStorage.setItem('
|
| 405 |
splashEl.classList.add('splash-out');
|
| 406 |
setTimeout(() => { splashEl.style.display = 'none'; }, 350);
|
| 407 |
}
|
|
|
|
| 389 |
let obStep = 0;
|
| 390 |
const OB_TOTAL = 4;
|
| 391 |
|
| 392 |
+
if (localStorage.getItem('pawmap_onboarding_v2')) {
|
| 393 |
splashEl.style.display = 'none';
|
| 394 |
}
|
| 395 |
|
|
|
|
| 401 |
}
|
| 402 |
|
| 403 |
function obDismiss() {
|
| 404 |
+
localStorage.setItem('pawmap_onboarding_v2', '1');
|
| 405 |
splashEl.classList.add('splash-out');
|
| 406 |
setTimeout(() => { splashEl.style.display = 'none'; }, 350);
|
| 407 |
}
|