Skip to content

Commit

Permalink
Update src/bootstrap.calendar.js
Browse files Browse the repository at this point in the history
msg_today option not working. Detected by @ventur40
  • Loading branch information
ahmontero committed Sep 5, 2012
1 parent f60e10d commit 1876b79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap.calendar.js
Expand Up @@ -48,7 +48,7 @@
'<tbody class="calendar-body"></tbody>'+
'<tfoot>'+
'<th colspan="2" class="sel" id="last"><div class="arrow"><i class="icon-arrow-left"></i></div></th>'+
'<th colspan="3" class="sel" id="current">' +defaults.msg_today+ '</th>'+
'<th colspan="3" class="sel" id="current">' +this.msg_today+ '</th>'+
'<th colspan="2" class="sel" id="next"><div class="arrow"><i class="icon-arrow-right"></i></div></th>'+
'</tfoot>'+
'</table>'+
Expand Down Expand Up @@ -83,6 +83,7 @@
this.weekStart = this.options.weekStart||1;
this.days = this.options.msg_days;
this.months = this.options.msg_months;
this.msg_today = this.options.msg_today;
this.msg_events_hdr = this.options.msg_events_header;
this.events = this.options.events;

Expand Down

0 comments on commit 1876b79

Please sign in to comment.