From aaf1825b49a5b6a197d482499f66bd931dc9bf7b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 24 May 2012 20:26:08 -0700 Subject: [PATCH] fix example code for carousel --- docs/javascript.html | 2 +- docs/templates/pages/javascript.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/javascript.html b/docs/javascript.html index c910a5ce5d..56132300ca 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1347,7 +1347,7 @@ $('#myCollapsible').on('hidden', function () {

Markup

Data attributes are used for the previous and next conrols. Check out the example markup below.

-<div id="myCarousel" class="carousel">
+<div id="myCarousel" class="carousel slide">
   <!-- Carousel items -->
   <div class="carousel-inner">
     <div class="active item">…</div>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index ba3787561f..4ed30284a2 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -1270,7 +1270,7 @@ $('#myCollapsible').on('hidden', function () {
           

{{_i}}Markup{{/i}}

{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}

-<div id="myCarousel" class="carousel">
+<div id="myCarousel" class="carousel slide">
   <!-- {{_i}}Carousel items{{/i}} -->
   <div class="carousel-inner">
     <div class="active item">…</div>