diff --git a/docs/4.0/components/alerts.md b/docs/4.0/components/alerts.md index aa6dfbeccb..4ad1d0dea5 100644 --- a/docs/4.0/components/alerts.md +++ b/docs/4.0/components/alerts.md @@ -73,7 +73,7 @@ You can see this in action with a live demo: Enable dismissal of an alert via JavaScript: {% highlight js %} -$(".alert").alert() +$('.alert').alert() {% endhighlight %} Or with `data` attributes on a button **within the alert**, as demonstrated above: diff --git a/docs/4.0/components/collapse.md b/docs/4.0/components/collapse.md index d072217600..a5456239b2 100644 --- a/docs/4.0/components/collapse.md +++ b/docs/4.0/components/collapse.md @@ -18,7 +18,7 @@ You can use a link with the `href` attribute, or a button with the `data-target` {% example html %}