Skip to content

Commit

Permalink
help avoid misuse of Carousel's .active when copy-pasting from exampl…
Browse files Browse the repository at this point in the history
…es; fix twbs#13252
  • Loading branch information
cvrebert committed Apr 1, 2014
1 parent f9e98a1 commit 640923e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/_includes/js/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ <h2 id="carousel-examples">Examples</h2>
...
</div>
</div>
<div class="item">
<img src="..." alt="...">
<div class="carousel-caption">
...
</div>
</div>
...
</div>

Expand Down Expand Up @@ -105,7 +111,7 @@ <h3>Third slide label</h3>
</div>
</div><!-- /example -->
{% highlight html %}
<div class="item active">
<div class="item">
<img src="..." alt="...">
<div class="carousel-caption">
<h3>...</h3>
Expand Down

0 comments on commit 640923e

Please sign in to comment.