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 @@ -190,15 +190,15 @@ return $.widget( "ui.calendar", {
190
190
191
191
// TODO: Shouldn't we pass date as a parameter to build* fns instead of setting this.date?
192
192
this . date = months [ i ] ;
193
+ headerClass = "ui-calendar-header ui-widget-header ui-helper-clearfix" ;
193
194
if ( months [ i ] . first ) {
194
- headerClass = "ui-corner-left" ;
195
+ headerClass + = " ui-corner-left" ;
195
196
} else if ( months [ i ] . last ) {
196
- headerClass = "ui-corner-right" ;
197
+ headerClass + = " ui-corner-right" ;
197
198
}
198
199
199
200
html += "<div class='ui-calendar-group'>" +
200
- "<div class='ui-calendar-header ui-widget-header ui-helper-clearfix " +
201
- headerClass + "'>" ;
201
+ "<div class='" + headerClass + "'>" ;
202
202
if ( months [ i ] . first ) {
203
203
html += this . _buildPreviousLink ( ) ;
204
204
} else if ( months [ i ] . last ) {
You can’t perform that action at this time.
0 commit comments