diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 29cce61e6d..b419fb3142 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -496,7 +496,7 @@ $('#myModal').on('hidden', function () {

{{_i}}Usage{{/i}}

{{_i}}Via data attributes{{/i}}

-

{{_i}}To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body) and data-target=".navbar" to select which nav to use. You'll want to scrollspy with the .nav class.{{/i}}

+

{{_i}}To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body) and data-target=".navbar" to select which nav to use. You'll want to use scrollspy with a .nav component.{{/i}}

<body data-spy="scroll" data-target=".navbar">...</body>

{{_i}}Via JavaScript{{/i}}