diff options
| author | Mark Otto <[email protected]> | 2014-02-08 15:46:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-08 15:46:51 -0800 |
| commit | 06e6affa4ab86ea67fefc59386e6e2d6c53cc209 (patch) | |
| tree | 05cc5a18c23f08345233a4785d1daa52bb452778 /docs/getting-started.html | |
| parent | b683433f672525cbbe25a4d5aa928610a66ea030 (diff) | |
| parent | bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c (diff) | |
| download | bootstrap-06e6affa4ab86ea67fefc59386e6e2d6c53cc209.tar.xz bootstrap-06e6affa4ab86ea67fefc59386e6e2d6c53cc209.zip | |
Merge pull request #12645 from ZDroid/docs-js-semicolons
Omit semicolons consistently in docs
Diffstat (limited to 'docs/getting-started.html')
| -rw-r--r-- | docs/getting-started.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/getting-started.html b/docs/getting-started.html index f23c48f78..5831474cb 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -543,10 +543,10 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { <p>On <code><select></code> elements, the Android stock browser will not display the side controls if there is a <code>border-radius</code> and/or <code>border</code> applied. Use the snippet of code below to remove the offending CSS and render the <code><select></code> as an unstyled element on the Android stock browser. The user agent sniffing avoids interference with Chrome, Safari, and Mozilla browsers.</p> {% highlight html %} <script> -var nua = navigator.userAgent; -var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1); +var nua = navigator.userAgent +var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1) if (isAndroid) { - $('select.form-control').removeClass('form-control').css('width', '100%'); + $('select.form-control').removeClass('form-control').css('width', '100%') } </script> {% endhighlight %} |
