diff options
| author | Mark Otto <[email protected]> | 2012-08-21 12:58:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-21 12:58:48 -0700 |
| commit | 55facf1f2ed9606f17504ac92a4c3b17a9c5e20b (patch) | |
| tree | 74cfff03197c1f55a73d1a825dfa2935f1135176 /docs | |
| parent | 6477ad1acf5b9b2dd0c849d818ff4474ade3ac85 (diff) | |
| download | bootstrap-55facf1f2ed9606f17504ac92a4c3b17a9c5e20b.tar.xz bootstrap-55facf1f2ed9606f17504ac92a4c3b17a9c5e20b.zip | |
fixes #4473: docs example typo for js affix plugin
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/javascript.html | 2 | ||||
| -rw-r--r-- | docs/templates/pages/javascript.mustache | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index f6c8c428b..3480f2b78 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1606,7 +1606,7 @@ $('.carousel').carousel({ <h3>Via data attributes</h3> <p>To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.</p> - <pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</body></pre> + <pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</div></pre> <div class="alert alert-info"> <strong>Heads up!</strong> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index c9e1b612b..a1230d83f 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -1536,7 +1536,7 @@ $('.carousel').carousel({ <h3>{{_i}}Via data attributes{{/i}}</h3> <p>{{_i}}To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.{{/i}}</p> - <pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</body></pre> + <pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</div></pre> <div class="alert alert-info"> <strong>{{_i}}Heads up!{{/i}}</strong> |
