diff options
| author | Chris Rebert <[email protected]> | 2013-08-15 12:27:42 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-15 12:27:42 -0700 |
| commit | bc89c06b6c8cdf0d77a8635c32650df4fafc4b04 (patch) | |
| tree | a6a21ff31d1c4a52d0207975cb5dcb9003c50ce7 | |
| parent | 5a4401ac91f456de749738eea32745ff315dfab2 (diff) | |
| parent | 5f311790b9a71645759c956d96df1de93cd43b66 (diff) | |
| download | bootstrap-bc89c06b6c8cdf0d77a8635c32650df4fafc4b04.tar.xz bootstrap-bc89c06b6c8cdf0d77a8635c32650df4fafc4b04.zip | |
Merge pull request #9625 from twbs/fix-9513-more
more fixes for #9513
| -rw-r--r-- | getting-started.html | 6 | ||||
| -rw-r--r-- | javascript.html | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/getting-started.html b/getting-started.html index 9c51e9574..fdb703dd9 100644 --- a/getting-started.html +++ b/getting-started.html @@ -228,13 +228,13 @@ bootstrap/ {% highlight js %} if (navigator.userAgent.match(/IEMobile\/10\.0/)) { - var msViewportStyle = document.createElement("style"); + var msViewportStyle = document.createElement("style") msViewportStyle.appendChild( document.createTextNode( "@-ms-viewport{width:auto!important}" ) - ); - document.getElementsByTagName("head")[0].appendChild(msViewportStyle); + ) + document.getElementsByTagName("head")[0].appendChild(msViewportStyle) } {% endhighlight %} <p>For more information and usage guidelines, read <a href="http://timkadlec.com/2013/01/windows-phone-8-and-device-width/">Windows Phone 8 and Device-Width</a>.</p> 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 %} |
