Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking fast on the same link after pressing "stay" with not trigger the alert anymore #136

Open
kushtra24 opened this issue Nov 10, 2017 · 1 comment

Comments

@kushtra24
Copy link

After I click a button or close and the alert pups-up, I press "stay" than immediately press the same button the alert does not pop-up anymore. and the browser let's me leave without any alert.

But if I wait for a second or two then the alert works again.

@Moggieggwp
Copy link

Yeah, I had the same issue, it's because there is a delay 900 milliseconds,
window.setTimeout(function () { window.aysHasPrompted = false; }, 900);
So you can manually change it to 0 and that's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants