]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix example code for carousel
authorMark Otto <markotto@twitter.com>
Fri, 25 May 2012 03:26:08 +0000 (20:26 -0700)
committerMark Otto <markotto@twitter.com>
Fri, 25 May 2012 03:26:08 +0000 (20:26 -0700)
docs/javascript.html
docs/templates/pages/javascript.mustache

index c910a5ce5d0188b7ae2dfa424edcb2556fb5aad9..56132300ca7237335f045b0dcff0695a94e52806 100644 (file)
@@ -1347,7 +1347,7 @@ $('#myCollapsible').on('hidden', function () {
           <h3>Markup</h3>
           <p>Data attributes are used for the previous and next conrols. Check out the example markup below.</p>
 <pre class="prettyprint linenums">
-&lt;div id="myCarousel" class="carousel"&gt;
+&lt;div id="myCarousel" class="carousel slide"&gt;
   &lt;!-- Carousel items --&gt;
   &lt;div class="carousel-inner"&gt;
     &lt;div class="active item"&gt;…&lt;/div&gt;
index ba3787561f59c7ddc4854e9462d4bd6d6e049fc2..4ed30284a2ed76d58cebd056ae49ca29d1927132 100644 (file)
@@ -1270,7 +1270,7 @@ $('#myCollapsible').on('hidden', function () {
           <h3>{{_i}}Markup{{/i}}</h3>
           <p>{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}</p>
 <pre class="prettyprint linenums">
-&lt;div id="myCarousel" class="carousel"&gt;
+&lt;div id="myCarousel" class="carousel slide"&gt;
   &lt;!-- {{_i}}Carousel items{{/i}} --&gt;
   &lt;div class="carousel-inner"&gt;
     &lt;div class="active item"&gt;…&lt;/div&gt;