From: XhmikosR Date: Sun, 10 Feb 2019 20:25:51 +0000 (+0200) Subject: Cosmetic changes in snippets. X-Git-Tag: v4.3.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf8b768ef97127b66165ed24496ae6429189a72;p=thirdparty%2Fbootstrap.git Cosmetic changes in snippets. --- 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 `