diff --git a/javascript.html b/javascript.html index 496480085a..b317f6b035 100644 --- a/javascript.html +++ b/javascript.html @@ -573,7 +573,7 @@ $('#myDropdown').on('show.bs.dropdown', function () {

Usage

Via data attributes

-

To easily add scrollspy behavior to your topbar navigation, add data-spy="scroll" to the element you want to spy on (most typically this would be the <body>. Then add the data-target attribute with the ID or class of the parent element of any Bootstrap .nav component.

+

To easily add scrollspy behavior to your topbar navigation, add data-spy="scroll" to the element you want to spy on (most typically this would be the <body>). Then add the data-target attribute with the ID or class of the parent element of any Bootstrap .nav component.

{% highlight html %} ...