Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit fb71e7c

Browse files
committed
date-enabled-dates should work even if the list of dates is empty, disabling all the dates
1 parent 791b3d5 commit fb71e7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/js/angular-datepicker.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,7 @@
809809
}
810810
}
811811

812-
if (dateEnabledDates &&
813-
dateEnabledDates.length > 0) {
812+
if (dateEnabledDates) {
814813

815814
for (i; i <= dateEnabledDates.length; i += 1) {
816815

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /