diff options
| author | Florian Weber <[email protected]> | 2013-08-05 23:37:08 +0200 |
|---|---|---|
| committer | Florian Weber <[email protected]> | 2013-08-05 23:37:08 +0200 |
| commit | f3fd67772e4466bd17ccffa114287f55ac09345d (patch) | |
| tree | f8f3d84c781479ba98443c16fd50dca915a70518 /javascript.html | |
| parent | bfe76273a0402f65687bdd56d6df9906edd248bd (diff) | |
| download | bootstrap-f3fd67772e4466bd17ccffa114287f55ac09345d.tar.xz bootstrap-f3fd67772e4466bd17ccffa114287f55ac09345d.zip | |
fix scrollSpy instructions for JS call
Don't really know if this is correct, but at least it only worked for me that way...
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html b/javascript.html index aa65eabe8..d1aa0c730 100644 --- a/javascript.html +++ b/javascript.html @@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown() <h3>Via JavaScript</h3> <p>Call the scrollspy via JavaScript:</p> {% highlight js %} -$('#navbar-example').scrollspy(options) +$('body').scrollspy({ target: '#navbar-example' ) {% endhighlight %} <div class="bs-callout bs-callout-danger"> |
