Skip to content

Commit

Permalink
fix example code for carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 25, 2012
1 parent fe30bd6 commit aaf1825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/javascript.html
Expand Up @@ -1347,7 +1347,7 @@ <h3>Options</h3>
<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;
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/pages/javascript.mustache
Expand Up @@ -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;
Expand Down

0 comments on commit aaf1825

Please sign in to comment.