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

Fix init on mobile with enabled confirmDatePlugin #1327

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

Kyr
Copy link
Contributor

@Kyr Kyr commented Apr 11, 2018

Problem: Initialization for mobile with enabled confirmDatePlugin cause an exception, due to plugin expect property isMobile that setuped after plugins initialization.

Solution: setup isMobile before initialize plugins.

  • update test to "red"
  • fix problem

Init for mobile with enabled confirmDatePlugin cause en exception, due to plugin relay on property `isMobile` that seyuped after plugins initialization.

- [x] update test to "red"
- [x] fix problem
@chmln chmln merged commit 601064b into flatpickr:master Apr 11, 2018
@chmln
Copy link
Member

chmln commented Apr 11, 2018

Thanks @Kyr !

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.

None yet

2 participants