Skip to content

Commit

Permalink
fix(datepicker): Apply custom class to month
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofbjorn authored and wesleycho committed Jun 26, 2015
1 parent 44e0642 commit eb3b32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/datepicker/month.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</thead>
<tbody>
<tr ng-repeat="row in rows track by $index">
<td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}">
<td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">
<button type="button" style="width:100%;" class="btn btn-default" ng-class="{'btn-info': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{'text-info': dt.current}">{{::dt.label}}</span></button>
</td>
</tr>
Expand Down

0 comments on commit eb3b32e

Please sign in to comment.