Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dominikfoeger
Copy link

I just went down a nasty debugging route because replies weren't working. I found out, that the reply-to id (hidden input ids) wasn't passed to the cloned reply form. The reason is that my element has children and event.target returns the exact clicked element while event.currentTarget returns the element the listener is bound on.

This pull request changes all occurences of event.target to event.currentTarget.

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