Skip to content

Commit

Permalink
Hide labels for prev/next months in the cells
Browse files Browse the repository at this point in the history
  • Loading branch information
daanvanham authored Aug 8, 2017
1 parent dcaba85 commit eeb490c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@
clsName = $.unique(clsName);
}

html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"' : '') + ' data-date="' + prevMonth.getTime().toString() + '">' + content + '</td>');
html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"' : '') + ' data-date="' + prevMonth.getTime().toString() + '">' + ((clsName.indexOf('new') === -1 && clsName.indexOf('old') === -1) ? content : '') + '</td>');
tooltip = null;
if (weekDay === this.o.weekEnd){
html.push('</tr>');
Expand Down

0 comments on commit eeb490c

Please sign in to comment.