Skip to content

Conversation

microbit-carlos
Copy link
Collaborator

Adding it to other elements, like the label or div, causes the click handler to fire twice, so it has to be added to the input element.

@microbit-carlos
Copy link
Collaborator Author

@JakubLenski could you review this PR?

@JakubLenski
Copy link
Contributor

LGTM - tested and works as expected, only fires event once as it's clicked, gives correct slug.

@microbit-carlos microbit-carlos merged commit 40308ac into v2-beta Jul 22, 2019
@microbit-carlos microbit-carlos deleted the options-action branch July 22, 2019 12:58
@microbit-carlos
Copy link
Collaborator Author

Thanks Jakub!

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.

2 participants