From: Mark Otto Date: Fri, 25 May 2012 03:26:08 +0000 (-0700) Subject: fix example code for carousel X-Git-Tag: v2.0.4~1^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aaf1825b49a5b6a197d482499f66bd931dc9bf7b;p=thirdparty%2Fbootstrap.git fix example code for carousel --- 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>