mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Update javascript.html
This commit is contained in:
parent
f3fd67772e
commit
e70d146b20
@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown()
|
|||||||
<h3>Via JavaScript</h3>
|
<h3>Via JavaScript</h3>
|
||||||
<p>Call the scrollspy via JavaScript:</p>
|
<p>Call the scrollspy via JavaScript:</p>
|
||||||
{% highlight js %}
|
{% highlight js %}
|
||||||
$('body').scrollspy({ target: '#navbar-example' )
|
$('body').scrollspy({ target: '#navbar-example' })
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<div class="bs-callout bs-callout-danger">
|
<div class="bs-callout bs-callout-danger">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user