diff options
| author | Zlatan Vasović <[email protected]> | 2014-02-07 19:31:08 +0100 |
|---|---|---|
| committer | Zlatan Vasović <[email protected]> | 2014-02-07 19:31:08 +0100 |
| commit | bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c (patch) | |
| tree | a6021c06e9d9f41be8aed8e8b6f92351d5ba931d /docs/getting-started.html | |
| parent | 4d7b2ddba92e47f923d22d9d7b23cb7b0a3e0bc2 (diff) | |
| download | bootstrap-bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c.tar.xz bootstrap-bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c.zip | |
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 %} |
