]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
help avoid misuse of Carousel's .active when copy-pasting from examples; fix #13252
authorChris Rebert <code@rebertia.com>
Tue, 1 Apr 2014 20:03:14 +0000 (13:03 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 1 Apr 2014 20:04:43 +0000 (13:04 -0700)
docs/_includes/js/carousel.html

index 945910c758e0790ba53395fb7580f9776e01a5da..b0665dba8db6349ddaf22eedf9989206af3338c7 100644 (file)
         ...
       </div>
     </div>
+    <div class="item">
+      <img src="..." alt="...">
+      <div class="carousel-caption">
+        ...
+      </div>
+    </div>
     ...
   </div>
 
     </div>
   </div><!-- /example -->
 {% highlight html %}
-<div class="item active">
+<div class="item">
   <img src="..." alt="...">
   <div class="carousel-caption">
     <h3>...</h3>