diff --git a/getting-started.html b/getting-started.html index 9c51e95741..fdb703dd96 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 %}
For more information and usage guidelines, read Windows Phone 8 and Device-Width.
diff --git a/javascript.html b/javascript.html index cbbb353682..2889ac0847 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) {% endhighlight %}