File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -195,15 +195,15 @@ return $.widget( "ui.calendar", {
195
195
196
196
// TODO: Shouldn't we pass date as a parameter to build* fns instead of setting this.date?
197
197
this . date = months [ i ] ;
198
+ headerClass = "ui-calendar-header ui-widget-header ui-helper-clearfix" ;
198
199
if ( months [ i ] . first ) {
199
- headerClass = "ui-corner-left" ;
200
+ headerClass + = " ui-corner-left" ;
200
201
} else if ( months [ i ] . last ) {
201
- headerClass = "ui-corner-right" ;
202
+ headerClass + = " ui-corner-right" ;
202
203
}
203
204
204
205
html += "<div class='ui-calendar-group'>" +
205
- "<div class='ui-calendar-header ui-widget-header ui-helper-clearfix " +
206
- headerClass + "'>" ;
206
+ "<div class='" + headerClass + "'>" ;
207
207
if ( months [ i ] . first ) {
208
208
html += this . _buildPreviousLink ( ) ;
209
209
} else if ( months [ i ] . last ) {
You can’t perform that action at this time.
0 commit comments