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

confirm doesn't work in if statements #6

Open
ThePenguin1140 opened this issue Mar 23, 2015 · 1 comment
Open

confirm doesn't work in if statements #6

ThePenguin1140 opened this issue Mar 23, 2015 · 1 comment

Comments

@ThePenguin1140
Copy link

if(AntiModals.confirm("Are you sure?")) { ... } doesn't wait for input and always returns true unlike the default confirm("foo")
I don't know if this is a bug or not since the behavior of the modals isn't described anywhere.
You should consider updating your README.

@Dascrilla
Copy link

Any update here? The package should behave exactly like js confirm just better looking right? Please fix if possible. Love the package otherwise

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