aboutsummaryrefslogtreecommitdiff
path: root/getting-started.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-12-15 18:18:55 -0800
committerChris Rebert <[email protected]>2013-12-15 18:19:10 -0800
commit023731b4c74cac72f55299502a34eb5ef88b8db0 (patch)
treee5e029a64d2b1e0c631cdb0d95e9dfc24d7d8916 /getting-started.html
parentbe508e043c2a5f53b352066a1628693adfa7755e (diff)
downloadbootstrap-023731b4c74cac72f55299502a34eb5ef88b8db0.tar.xz
bootstrap-023731b4c74cac72f55299502a34eb5ef88b8db0.zip
fix var name in example to follow JS conventions
Diffstat (limited to 'getting-started.html')
-rw-r--r--getting-started.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/getting-started.html b/getting-started.html
index c43abe197..4c39ebccd 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -884,8 +884,8 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
{% highlight html %}
<script>
var nua = navigator.userAgent;
-var is_android = ((nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1) && !(nua.indexOf('Chrome') > -1));
-if(is_android) {
+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%');
}
</script>