We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf16da commit 3aa0770Copy full SHA for 3aa0770
site/docs/4.2/components/forms.md
@@ -1125,7 +1125,7 @@ $form-validation-states: map-merge(
1125
"invalid": (
1126
"color": $form-feedback-invalid-color,
1127
"icon": $form-feedback-icon-invalid
1128
- ),
+ )
1129
),
1130
$form-validation-states
1131
);
site/docs/4.2/getting-started/javascript.md
@@ -50,7 +50,9 @@ All infinitive events provide [`preventDefault()`](https://developer.mozilla.org
50
51
{% highlight js %}
52
$('#myModal').on('show.bs.modal', function (e) {
53
- if (!data) return e.preventDefault() // stops modal from being shown
+ if (!data) {
54
+ return e.preventDefault() // stops modal from being shown
55
+ }
56
})
57
{% endhighlight %}
58
0 commit comments