From: Florian Weber Date: Mon, 5 Aug 2013 21:37:08 +0000 (+0200) Subject: fix scrollSpy instructions for JS call X-Git-Tag: v3.0.0-rc.2~55^2~9^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3fd67772e4466bd17ccffa114287f55ac09345d;p=thirdparty%2Fbootstrap.git fix scrollSpy instructions for JS call Don't really know if this is correct, but at least it only worked for me that way... --- diff --git a/javascript.html b/javascript.html index aa65eabe8f..d1aa0c730f 100644 --- a/javascript.html +++ b/javascript.html @@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown()

Via JavaScript

Call the scrollspy via JavaScript:

{% highlight js %} -$('#navbar-example').scrollspy(options) +$('body').scrollspy({ target: '#navbar-example' ) {% endhighlight %}