Skip to content

Commit bbfc07c

Browse files
author
Shashank Agrawal
authored
Merge pull request #18 from spluf/master
the success class was never removed
2 parents b302f31 + a183118 commit bbfc07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/validation.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ angular.module('bootstrap.angular.validation').factory('BsValidationService', ['
7575
},
7676

7777
addErrorClass: function($formGroupElement) {
78-
this.removeErrorClass($formGroupElement);
78+
this.removeSuccessClass($formGroupElement);
7979
$formGroupElement.addClass(validationConfig.errorClass);
8080
},
8181

0 commit comments

Comments
 (0)