Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Calls this.reformatDate before setting this.options, crashes #4

Closed
default-kramer opened this issue Oct 11, 2016 · 1 comment
Closed

Comments

@default-kramer
Copy link

Here on line 29 it can call reformatDate, but it doesn't set this.options until line 34, leading to a "cannot read property of undefined" error.

var dateObj = this.reformatDate(this.calendar.prev().val());

I fixed by moving line 34 near the top, seems to work fine.

@dmuy
Copy link
Owner

dmuy commented Nov 26, 2016

Hi @default-kramer,

Thanks for reporting this, I also saw this one but didn't have the time to update the code. I've already pushed the updates for this one and other issues I've seen. Thanks again.

@dmuy dmuy closed this as completed Nov 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants