From f3fd67772e4466bd17ccffa114287f55ac09345d Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Mon, 5 Aug 2013 23:37:08 +0200 Subject: [PATCH 1/2] fix scrollSpy instructions for JS call Don't really know if this is correct, but at least it only worked for me that way... --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}
From e70d146b202819cefc198d76a32faca156b49b84 Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Tue, 6 Aug 2013 11:44:55 +0200 Subject: [PATCH 2/2] Update javascript.html --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.html b/javascript.html index d1aa0c730f..af3f7fe587 100644 --- a/javascript.html +++ b/javascript.html @@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown()

Via JavaScript

Call the scrollspy via JavaScript:

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