diff --git a/javascript.html b/javascript.html index 3b5187a71c..ffb613a793 100644 --- a/javascript.html +++ b/javascript.html @@ -1769,7 +1769,7 @@ $('.carousel').carousel()

.carousel(options)

Initializes the carousel with an optional options object and starts cycling through items.

-{% highlight html %} +{% highlight js %} $('.carousel').carousel({ interval: 2000 })