Skip to content

Conversation

@ktsosno
Copy link

@ktsosno ktsosno commented May 14, 2019

We have some dynamic sections where it's possible you could get in a state that an ID isn't present on the page but an onClick handler is still invoked. In general, I think this will help the codepath silently fail (maybe add a console warning?) and prevent an undefined reference on a missing ID.

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.

1 participant