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

Commit 97b0747

Browse files
committed
refactor(timepicker): change variable usage
1 parent b0b1434 commit 97b0747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/timepicker/timepicker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ angular.module('ui.bootstrap.timepicker', [])
144144
};
145145

146146
hoursInputEl.bind('blur', function(e) {
147-
if ( !$scope.validHours && $scope.hours < 10) {
147+
if ( !$scope.invalidHours && $scope.hours < 10) {
148148
$scope.$apply( function() {
149149
$scope.hours = pad( $scope.hours );
150150
});

0 commit comments

Comments
 (0)