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

notie.confirm #100

Closed
globz opened this issue Sep 22, 2016 · 3 comments
Closed

notie.confirm #100

globz opened this issue Sep 22, 2016 · 3 comments

Comments

@globz
Copy link

globz commented Sep 22, 2016

Hi,

I would like to know if there's a way to avoid the following scenario, when I use notie.confirm, I give the user a choice between Yes and Delete, Yes => will resume and load whatever is inside localStorage & Delete => will delete whatever is inside localStorage.... but if you miss click outside of the confirm box it will always default to delete. Is there any ways to change this behavior without going through a series of notie.alert just to make that the user did not click outside the confirm box by mistake?

Basically a way to force the user to click YES OR DELETE but unable to dismiss the confirm box so this won't trigger the default behavior or going for the cancel function.

Thank you

@jaredreich
Copy link
Owner

Have you read the README? Scroll to Options > General and:

backgroundClickDismiss: false

@globz
Copy link
Author

globz commented Sep 26, 2016

Yes I did but somehow totally missed the specified option above. Thank you and sorry about the that.

@jaredreich
Copy link
Owner

Perhaps it wasn't documented well enough. Glad your problem is resolved. Best of luck.

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