Skip to content

Commit

Permalink
fix(datepicker): Fixing Colspan (#1057)
Browse files Browse the repository at this point in the history
current state results in 

<th colspan="5true">
  • Loading branch information
Drast authored and valorkin committed Oct 3, 2016
1 parent 47b9fb1 commit e71a8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/datepicker/daypicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const TEMPLATE_OPTIONS:any = {
[innerHTML]="CURRENT_THEME_TEMPLATE.ARROW_LEFT">
</button>
</th>
<th [attr.colspan]="5 + datePicker.showWeeks">
<th [attr.colspan]="5 + (datePicker.showWeeks ? 1 : 0)">
<button [id]="datePicker.uniqueId + '-title'"
type="button" class="btn btn-default btn-secondary btn-sm"
(click)="datePicker.toggleMode()"
Expand Down

0 comments on commit e71a8ae

Please sign in to comment.