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