diff --git a/javascript.html b/javascript.html index 496480085..b317f6b03 100644 --- a/javascript.html +++ b/javascript.html @@ -573,7 +573,7 @@ $('#myDropdown').on('show.bs.dropdown', function () {
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.