pnotify
pnotify copied to clipboard
Update PNotifyConfirm.html
Will throw a TypeError exception "Cannot read property 'focus' of undefined" if none of the buttons has promptTrigger, because in that case i = -1 by the time we get to line this.refs.buttons.children[i].focus();.
Nice catch! Does this have an associated issue?