Skip to content

Commit b129a10

Browse files
author
Shyam Seshadri
committed
add back nicer formatting
1 parent 769b26b commit b129a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function valueAccessor(scope, element) {
8787
validateScope = extend(new (extend(function(){}, {prototype:scope}))(), {$element:element});
8888
error = required && !value ?
8989
'Required' :
90-
value ? validator(validateScope, value) : null;
90+
(value ? validator(validateScope, value) : null);
9191
elementError(element, NG_VALIDATION_ERROR, error);
9292
lastError = error;
9393
if (error) {

0 commit comments

Comments
 (0)