aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-04-01 13:03:14 -0700
committerChris Rebert <[email protected]>2014-04-01 13:04:43 -0700
commit640923eb36890eb194799beeb8ec3555e2b379cc (patch)
tree451202ceb12be15ede724d9656fb20eef5174da5
parentf9e98a1422134077aa429f9053295e4765260736 (diff)
downloadbootstrap-640923eb36890eb194799beeb8ec3555e2b379cc.tar.xz
bootstrap-640923eb36890eb194799beeb8ec3555e2b379cc.zip
help avoid misuse of Carousel's .active when copy-pasting from examples; fix #13252
-rw-r--r--docs/_includes/js/carousel.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index 945910c75..b0665dba8 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -46,6 +46,12 @@
...
</div>
</div>
+ <div class="item">
+ <img src="..." alt="...">
+ <div class="carousel-caption">
+ ...
+ </div>
+ </div>
...
</div>
@@ -105,7 +111,7 @@
</div>
</div><!-- /example -->
{% highlight html %}
-<div class="item active">
+<div class="item">
<img src="..." alt="...">
<div class="carousel-caption">
<h3>...</h3>