mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-23 14:44:53 +01:00
fix event condition
This commit is contained in:
parent
433662f517
commit
e30bb691dc
@ -2306,7 +2306,7 @@ globalConsoleContainerEl
|
||||
// Check if new user
|
||||
if (!result.lastSeenVersion) {
|
||||
onboardModal.classList.add('is-modal-visible');
|
||||
if (document.cookie.indexOf('onboarded') !== -1) {
|
||||
if (document.cookie.indexOf('onboarded') === -1) {
|
||||
trackEvent('ui', 'onboardModalSeen', version);
|
||||
document.cookie = 'onboarded=1';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user