Commit 023731b4 authored by Chris Rebert's avatar Chris Rebert

fix var name in example to follow JS conventions

parent be508e04
...@@ -884,8 +884,8 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { ...@@ -884,8 +884,8 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
{% highlight html %} {% highlight html %}
<script> <script>
var nua = navigator.userAgent; 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)); var isAndroid = ((nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1) && !(nua.indexOf('Chrome') > -1));
if(is_android) { if (isAndroid) {
$('select.form-control').removeClass('form-control').css('width', '100%'); $('select.form-control').removeClass('form-control').css('width', '100%');
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment