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

Update PNotifyConfirm.html #368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cigaar
Copy link

@cigaar cigaar commented Oct 23, 2019

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();.

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();.
@hperrin
Copy link
Member

hperrin commented Apr 6, 2020

Nice catch! Does this have an associated issue?

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

Successfully merging this pull request may close these issues.

None yet

2 participants