Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Removing .has-success class in destroy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
1000hz committed Jul 16, 2016
1 parent 3f9369a commit 618f0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@

this.$element.find('input[type="submit"], button[type="submit"]').removeClass('disabled')

this.$element.find('.has-error, .has-danger').removeClass('has-error has-danger')
this.$element.find('.has-error, .has-danger, .has-success').removeClass('has-error has-danger has-success')

return this
}
Expand Down

0 comments on commit 618f0e9

Please sign in to comment.