Skip to content

Commit 7eb3190

Browse files
NuccDuc Tri Le
authored andcommitted
Fixing selector to determine sundays properly
1 parent f28847f commit 7eb3190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dateinput/dateinput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@
626626

627627
// sunday
628628
if (css.sunday) {
629-
weeks.find(css.week).each(function() {
629+
weeks.find("." + css.week).each(function() {
630630
var beg = conf.firstDay ? 7 - conf.firstDay : 0;
631631
$(this).children().slice(beg, beg + 1).addClass(css.sunday);
632632
});

0 commit comments

Comments
 (0)