If you are reporting a bug you must create a test-case. You can fork this codepen or this jsfiddle to get started.
Also include re-produce steps and environement specs, such as OS and Browser (We support last 2 versions only).
Remember, calls to
alertify.alert
,alertify.confirm
andalertify.prompt
are none blocking.
//bad
if(alertify.confirm('Are you sure?')){
// this would execute immediatly
}
//good
alertify.confirm('Are you sure?', function(){
//this would execute when the user clicks ok
});
For how-to questions, please post on stackoverflow and don't forget to tag with alertifyjs
.