Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from damian/master

Incorrect month number for multiple calendars
  • Loading branch information...
commit b1e4fc89c5a6c77b90a45da0b5262d0f91cecf46 2 parents a85ce7d + ddf0adb
Dustin Diaz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 calender.js
4 calender.js
View
@@ -89,7 +89,7 @@
this.$calendar.delegate('.date-month-next', 'click', function (e) {
var y = parseFloat(self.$calendar.find('.date-current-year').html())
- , m = getMonthNumberFromName($('.date-current-month').html())
+ , m = getMonthNumberFromName(self.$calendar.find('.date-current-month').html())
if ((m == 12)) ++y && (m = 0)
self.setDate(months[m] + ' 1,' + y)
})
@@ -178,4 +178,4 @@
})
}
}, true)
-}(ender);
+}(ender);
Please sign in to comment.
Something went wrong with that request. Please try again.