diff --git a/site/docs/4.2/components/alerts.md b/site/docs/4.2/components/alerts.md index 51ab003f39..ec9ac401e1 100644 --- a/site/docs/4.2/components/alerts.md +++ b/site/docs/4.2/components/alerts.md @@ -100,7 +100,7 @@ Note that closing an alert will remove it from the DOM. | `$().alert('close')` | Closes an alert by removing it from the DOM. If the `.fade` and `.show` classes are present on the element, the alert will fade out before it is removed. | | `$().alert('dispose')` | Destroys an element's alert. | -{% highlight js %}$(".alert").alert('close'){% endhighlight %} +{% highlight js %}$('.alert').alert('close'){% endhighlight %} ### Events @@ -113,6 +113,6 @@ Bootstrap's alert plugin exposes a few events for hooking into alert functionali {% highlight js %} $('#myAlert').on('closed.bs.alert', function () { - // do something… + // do something... }) {% endhighlight %} diff --git a/site/docs/4.2/components/carousel.md b/site/docs/4.2/components/carousel.md index dbe321cd9d..455e2d9e51 100644 --- a/site/docs/4.2/components/carousel.md +++ b/site/docs/4.2/components/carousel.md @@ -355,7 +355,7 @@ All carousel events are fired at the carousel itself (i.e. at the `