Skip to content

Commit

Permalink
Revert "append error under '.form-group'"
Browse files Browse the repository at this point in the history
  • Loading branch information
kelp404 committed Jul 26, 2014
1 parent 5750579 commit bd8ff93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/angular-validator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/provider.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ angular.module 'validator.provider', []
$(label).remove()
$label = $ "<label class='control-label error'>#{errorMessage}</label>"
$label.attr 'for', attrs.id if attrs.id
parent.append $label
$(element).parent().append $label
break
parent = parent.parent()

Expand Down

0 comments on commit bd8ff93

Please sign in to comment.