fix example code for carousel

This commit is contained in:
Mark Otto
2012-05-24 20:26:08 -07:00
parent fe30bd6055
commit aaf1825b49
2 changed files with 2 additions and 2 deletions

View 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;