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

Commit 1f89fd4

Browse files
bekospkozlowski-opensource
authored andcommitted
fix(timepicker): add type attribute for meridian button
1 parent 7589339 commit 1f89fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/timepicker/timepicker.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<td class="control-group" ng-class="{'error': invalidHours}"><input type="text" ng-model="hours" ng-change="updateHours()" class="span1 text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" maxlength="2" /></td>
1010
<td>:</td>
1111
<td class="control-group" ng-class="{'error': invalidMinutes}"><input type="text" ng-model="minutes" ng-change="updateMinutes()" class="span1 text-center" ng-readonly="readonlyInput" maxlength="2"></td>
12-
<td ng-show="showMeridian"><button ng-click="toggleMeridian()" class="btn text-center">{{meridian}}</button></td>
12+
<td ng-show="showMeridian"><button type="button" ng-click="toggleMeridian()" class="btn text-center">{{meridian}}</button></td>
1313
</tr>
1414
<tr class="text-center">
1515
<td><a ng-click="decrementHours()" class="btn btn-link"><i class="icon-chevron-down"></i></a></td>

0 commit comments

Comments
 (0)