File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1494,7 +1494,7 @@ $.extend(Datepicker.prototype, {
14941494 if ( drawYear == inst . selectedYear && drawMonth == inst . selectedMonth )
14951495 inst . selectedDay = Math . min ( inst . selectedDay , daysInMonth ) ;
14961496 var leadDays = ( this . _getFirstDayOfMonth ( drawYear , drawMonth ) - firstDay + 7 ) % 7 ;
1497- var numRows = Math . ceil ( ( leadDays + daysInMonth ) / 7 ) ; // calculate the number of rows to generate
1497+ var numRows = ( isMultiMonth ? 6 : Math . ceil ( ( leadDays + daysInMonth ) / 7 ) ) ; // calculate the number of rows to generate
14981498 var printDate = this . _daylightSavingAdjust ( new Date ( drawYear , drawMonth , 1 - leadDays ) ) ;
14991499 for ( var dRow = 0 ; dRow < numRows ; dRow ++ ) { // create date picker rows
15001500 calender += '<tr>' ;
You can’t perform that action at this time.
0 commit comments