mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 18:07:33 -02:30
fixed jshint errors on directives
This commit is contained in:
@@ -99,7 +99,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
|||||||
ctrl.$setViewValue(ctrl.$viewValue);
|
ctrl.$setViewValue(ctrl.$viewValue);
|
||||||
});
|
});
|
||||||
var minValidator = function (value) {
|
var minValidator = function (value) {
|
||||||
var min = (!attr.ngMin===false) ? scope.$eval(attr.ngMin) : -Infinity;
|
var min = (attr.ngMin) ? scope.$eval(attr.ngMin) : -Infinity;
|
||||||
if (!Empty(value) && Number(value) < min) {
|
if (!Empty(value) && Number(value) < min) {
|
||||||
ctrl.$setValidity('ngMin', false);
|
ctrl.$setValidity('ngMin', false);
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user