Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(timepicker): add correct type for meridian button #1541

Closed
wants to merge 1 commit into from

Conversation

bekos
Copy link
Contributor

@bekos bekos commented Jan 8, 2014

No description provided.

@bekos bekos closed this in bcf39ef Jan 8, 2014
@pkozlowski-opensource
Copy link
Member

Aha! Good one!

@@ -14,7 +14,7 @@
<td style="width:50px;" class="form-group" ng-class="{'has-error': invalidMinutes}">
<input type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2">
</td>
<td ng-show="showMeridian"><button class="btn btn-default text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>
<td ng-show="showMeridian"><button type="button" class="btn btn-default text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO btn-primary instead of default is a nicer option, but it's just a subjective opinion, good fix anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants