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

There is a bug on the 'YYYY' mode #22

Closed
bmwangz opened this issue Nov 3, 2016 · 0 comments
Closed

There is a bug on the 'YYYY' mode #22

bmwangz opened this issue Nov 3, 2016 · 0 comments

Comments

@bmwangz
Copy link

bmwangz commented Nov 3, 2016

While in the 'YYYY' mode,when the "next" button is clicked, the result show us "NaN".
jeDate/jedate/jquery.jedate.js, line:467:
ymVal = cls == ymPre ? boxCell.find(".jedayy li").attr("yy") : boxCell.eq(jet.yearArr.length-1).find(".jedayy li").attr("yy");
==>
ymVal = cls == ymPre ? boxCell.find(".jedayy li").attr("yy") : boxCell.find(".jedayy li").eq(jet.yearArr.length-1).attr("yy");

算了,还是中文说吧,主js文件第467行,三目运算符的最后选择器顺序反掉了。

@singod singod closed this as completed Jun 2, 2017
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

No branches or pull requests

2 participants