Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Calendar not closing on click outside #92

Closed
chriswillow opened this issue Oct 2, 2018 · 0 comments · Fixed by #93
Closed

Calendar not closing on click outside #92

chriswillow opened this issue Oct 2, 2018 · 0 comments · Fixed by #93

Comments

@chriswillow
Copy link

The issue seems to have been introduced in this commit.

var contains = $(event.target).parents(self.element);

parents() with an object as parameter is returning all parents and so contains.length is never 0.

shai126 added a commit to shai126/baremetrics-calendar that referenced this issue Jan 2, 2019
shai126 added a commit to shai126/baremetrics-calendar that referenced this issue Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant