aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-08-15 12:26:37 -0700
committerChris Rebert <[email protected]>2013-08-15 12:26:37 -0700
commit5f311790b9a71645759c956d96df1de93cd43b66 (patch)
treea6a21ff31d1c4a52d0207975cb5dcb9003c50ce7 /javascript.html
parent5a4401ac91f456de749738eea32745ff315dfab2 (diff)
downloadbootstrap-5f311790b9a71645759c956d96df1de93cd43b66.tar.xz
bootstrap-5f311790b9a71645759c956d96df1de93cd43b66.zip
more fixes for #9513
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html
index cbbb35368..2889ac084 100644
--- a/javascript.html
+++ b/javascript.html
@@ -588,7 +588,7 @@ $('body').scrollspy({ target: '#navbar-example' })
{% highlight js %}
$('[data-spy="scroll"]').each(function () {
var $spy = $(this).scrollspy('refresh')
-});
+})
{% endhighlight %}
@@ -731,7 +731,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
<script>
$(function () {
- $('#myTab a:last').tab('show');
+ $('#myTab a:last').tab('show')
})
</script>
{% endhighlight %}