aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-11 19:49:16 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-11 19:49:16 +0200
commit83424c6c334406d427d9eef8e4fe22fd9da0a37a (patch)
treebcc89c0d30aaf9d2333246075a43c03c5fabeb2a /ui/jquery.ui.datepicker.js
parent0352c2c71f32553612301f57741f249476234746 (diff)
parentb9153258b0f0edbff49496ed16d2aa93bec07d95 (diff)
downloadjquery-ui-83424c6c334406d427d9eef8e4fe22fd9da0a37a.tar.gz
jquery-ui-83424c6c334406d427d9eef8e4fe22fd9da0a37a.zip
Merge branch 'master' of github.com:jquery/jquery-ui
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index 12323672a..662b49f86 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -1489,7 +1489,7 @@ $.extend(Datepicker.prototype, {
if (drawYear == inst.selectedYear && drawMonth == inst.selectedMonth)
inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
var leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
- var numRows = (isMultiMonth ? 6 : Math.ceil((leadDays + daysInMonth) / 7)); // calculate the number of rows to generate
+ var numRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
var printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
for (var dRow = 0; dRow < numRows; dRow++) { // create date picker rows
calender += '<tr>';