Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of Scrollspy is wrong #7093

Closed
olmaga opened this issue Feb 27, 2013 · 2 comments
Closed

Documentation of Scrollspy is wrong #7093

olmaga opened this issue Feb 27, 2013 · 2 comments
Milestone

Comments

@olmaga
Copy link

olmaga commented Feb 27, 2013

It's written that we should init scrollspy by calling:
"$('#navbar').scrollspy()"

but actually in this example we would have to call
"$('body').scrollspy()"

this confused me a lot and it's inconsistent with the next example with the refresh

mdo added a commit that referenced this issue Apr 20, 2013
@mdo
Copy link
Member

mdo commented Apr 20, 2013

Resolved in v3.

@mdo mdo closed this as completed Apr 20, 2013
@RaphaelDDL
Copy link

Wow, I spent about 2 hours trying to figure why data-* at body worked but didn't at the js call until find this topic.

Glad was a bug on docs only and has been corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants