AlertifyJS
AlertifyJS copied to clipboard
alertify.confirm() returns OK and not CANCEL when ENTER KEY Pressed and CANCEL is default
I am calling "alertify**.confirm()**" with these options:
- closable: false
- closableByDimmer: false
- defaultFocus: "cancel"
- frameless: false
- maximizable: true
- pinnable: true
- resizable: true
- title: "A Title
If I don't mouse click the dialog and press ENTER, it response with CANCEL (good). If I mouse click the anywhere dialog (not a button) and press ENTER, it response with CANCEL (bug). Clicking the dialog should not change the focus.