diff --git a/javascript.html b/javascript.html index ddef28e9e6..d229cc1d2b 100644 --- a/javascript.html +++ b/javascript.html @@ -1903,7 +1903,7 @@ $('#myCarousel').on('slide.bs.carousel', function () { offset number | function | object 10 - Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To provide a unique, bottom and top offset just provide an object offset: { top: 10 } or offset: { top: 10, bottom: 5 }. Use a function when you need to dynamically calculate an offset. + Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and bottom directions. To provide a unique, bottom and top offset just provide an object offset: { top: 10 } or offset: { top: 10, bottom: 5 }. Use a function when you need to dynamically calculate an offset.