Skip to content

Commit f91e245

Browse files
committed
Update angular-validation-match.js
1 parent 13a885a commit f91e245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-validation-match.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function match ($parse) {
99
require: '?ngModel',
1010
restrict: 'A',
1111
link: function(scope, elem, attrs, ctrl) {
12-
if(!ctrl) {
12+
if(!ctrl || !attrs.match) {
1313
return;
1414
}
1515

0 commit comments

Comments
 (0)