We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4036544 + 3992602 commit f518999Copy full SHA for f518999
dist/unobtrusive-bootstrap.js
@@ -24,15 +24,15 @@
24
errorPlacement: function (error, element) {
25
error.addClass('invalid-feedback');
26
27
- if ($element.next().is(".input-group-append")) {
28
- $error.insertAfter($element.next());
+ if (element.next().is(".input-group-append")) {
+ error.insertAfter(element.next());
29
} else {
30
- $error.insertAfter($element);
+ error.insertAfter(element);
31
}
32
33
};
34
35
else {
36
console.warn('$.validator is not defined. Please load this library **after** loading jquery.validate.js and jquery.validate.unobtrusive.js');
37
38
-})(jQuery);
+})(jQuery);
0 commit comments