Browse files

Fixing selector to determine sundays properly

  • Loading branch information...
1 parent f28847f commit 7eb3190ab31a87db815a769d0dde43d16f61eded @Nucc Nucc committed with duclet Oct 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dateinput/dateinput.js
View
2 src/dateinput/dateinput.js
@@ -626,7 +626,7 @@
// sunday
if (css.sunday) {
- weeks.find(css.week).each(function() {
+ weeks.find("." + css.week).each(function() {
var beg = conf.firstDay ? 7 - conf.firstDay : 0;
$(this).children().slice(beg, beg + 1).addClass(css.sunday);
});

0 comments on commit 7eb3190

Please sign in to comment.