aboutsummaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-09-26 18:20:51 -0700
committerChris Rebert <[email protected]>2014-09-26 18:20:51 -0700
commit99c1c37cd9b4e22247d0f834649e4120044ff0ec (patch)
tree5be0155f4d83a040e59732f866ea64d5970af589 /javascript
parent1f8c19fe3c34b4587a5ecf084b3150cff6573103 (diff)
downloadbootstrap-99c1c37cd9b4e22247d0f834649e4120044ff0ec.tar.xz
bootstrap-99c1c37cd9b4e22247d0f834649e4120044ff0ec.zip
Port #13988 over to hosted docs
Diffstat (limited to 'javascript')
-rw-r--r--javascript/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/index.html b/javascript/index.html
index a4227b49e..2929d3586 100644
--- a/javascript/index.html
+++ b/javascript/index.html
@@ -2014,7 +2014,7 @@
<h3>Via data attributes</h3>
<p>Use data attributes to easily control the position of the carousel. <code>data-slide</code> accepts the keywords <code>prev</code> or <code>next</code>, which alters the slide position relative to its current position. Alternatively, use <code>data-slide-to</code> to pass a raw slide index to the carousel <code>data-slide-to="2"</code>, which shifts the slide position to a particular index beginning with <code>0</code>.</p>
- <p>The <code>data-ride="carousel"</code> attribute is used to mark a carousel as animating starting at page load.</p>
+ <p>The <code>data-ride="carousel"</code> attribute is used to mark a carousel as animating starting at page load. <strong class="text-danger">It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.</strong></p>
<h3>Via JavaScript</h3>
<p>Call carousel manually with:</p>