diff --git a/docs/javascript.html b/docs/javascript.html index c910a5ce5d..56132300ca 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1347,7 +1347,7 @@ $('#myCollapsible').on('hidden', function () {

Markup

Data attributes are used for the previous and next conrols. Check out the example markup below.

-<div id="myCarousel" class="carousel">
+<div id="myCarousel" class="carousel slide">
   <!-- Carousel items -->
   <div class="carousel-inner">
     <div class="active item">…</div>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index ba3787561f..4ed30284a2 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -1270,7 +1270,7 @@ $('#myCollapsible').on('hidden', function () {
           

{{_i}}Markup{{/i}}

{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}

-<div id="myCarousel" class="carousel">
+<div id="myCarousel" class="carousel slide">
   <!-- {{_i}}Carousel items{{/i}} -->
   <div class="carousel-inner">
     <div class="active item">…</div>