Skip to content

Commit 93f03cf

Browse files
committed
I ain't not that
fix for #343
1 parent e94102a commit 93f03cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ angular.module('schemaForm').directive('sfMessage',
1717
}
1818

1919
var update = function(valid) {
20-
if (valid && scope.hasError()) {
20+
if (valid && !scope.hasError()) {
2121
element.html(msg);
2222
} else {
2323

0 commit comments

Comments
 (0)