diff options
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 4 |
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 %} |
