fabien-d/alertify.js — pull request #33 by fabien-d (2012-12-02 20:03:52+00:00)
Title: keep focus in dialog box

## Resolves
* https://github.com/fabien-d/alertify.js/issues/12

Focus now remaining inside the dialog until an action happens. Using the keyboard tab key will cycle through available elements.

Spacebar now acts as ENTER key on alert and confirm (closing as if OK had been clicked). However this scrolls the page. I haven't figured out a way (or if it's even possible) to prevent the default behaviour