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

use pikaday element instead of child element when comparing against trigger element #166

Merged
merged 1 commit into from
Dec 16, 2014
Merged

Conversation

alanhamlett
Copy link
Contributor

This is to fix a bug that occurs when a child element inside the trigger element is clicked. When the child element is clicked, the date picker should still open.

@lauradegroot
Copy link

Thanks @alanhamlett! This was driving me nuts, fix worked!

rikkert added a commit that referenced this pull request Dec 16, 2014
use pikaday element instead of child element when comparing against trigger element
@rikkert rikkert merged commit 61b0be9 into Pikaday:master Dec 16, 2014
radiac added a commit to radiac/Pikaday that referenced this pull request Jan 6, 2015
Changes in Pikaday#166 broke the click handler's detection of clicks within the
pikaday element; for example, clicking on the date drop-downs, as reported in
issues Pikaday#224 and Pikaday#230.

This change adds the original conditions to the patch in Pikaday#166. This fixes
the introduced bug, while leaving the fixes for child elements in place.
rikkert added a commit that referenced this pull request Jan 13, 2015
Fix for bug introduced in #166; fixes #224, #230
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.

3 participants