title: Bootstrap "mobile" menu not showing on mobile devices
body: <p>so I am getting this weird behavior with my bootstrap menu on my site. When I open up my app on a mobile device (iPhone 4S, iPhone 6 plus, Galaxy S4) or in the Chrome emulator, it shows me the full version of the menu:
  <img src="https://i.stack.imgur.com/AHH4s.png" alt="On actual iPhone 6 Device"> <img src="https://i.stack.imgur.com/BcFfr.png" alt="iPhone 4 emulated on Chrome"></p>
  
  <p>But, when on my desktop browser, I resize the window, it starts working, even though the width is greater here than in the devices:
  <img src="https://i.stack.imgur.com/X3lHU.jpg" alt="Smaller screen on desktop"></p>
  
  <p>This is my code (I am using Bootstrap v3.2.0):</p>
  
  <pre><code>&lt;nav class="navbar navbar-default" role="navigation"&gt;
    &lt;div class="container-fluid"&gt;
      &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;/button&gt;
      &lt;/div&gt;
  
      &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
      &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
          &lt;div class=""&gt;
            &lt;ul class="nav navbar-nav"&gt;
              &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/welcome/home');?&gt;"&gt;&lt;img src="&lt;?php echo base_url('assets/img/logo.png');?&gt;" id="mainLogo" /&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="dropdown"&gt;
                  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Red Bticino&lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
                  &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/setup/create');?&gt;"&gt;Crear Nueva Red&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/setup/join');?&gt;"&gt;Unirse a Red&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/setup/open');?&gt;"&gt;Abrir Red&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a id="leaveNet"&gt;Dejar esta Red&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
              &lt;li class="dropdown"&gt;
                  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Control del Hogar&lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
                  &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/device/all');?&gt;"&gt;Dispositivos&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/scene/home');?&gt;"&gt;Escenarios&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/schedule');?&gt;"&gt;Horarios&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul class="nav navbar-nav navbar-right"&gt;
              &lt;li class="dropdown"&gt;
                  &lt;a href="#" class="dropdown-toggle iconNav" data-toggle="dropdown"&gt;&lt;span class="glyphicon glyphicon-cog"&gt;&lt;/span&gt;&lt;/a&gt;
                  &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/settings/hour_simple');?&gt;"&gt;Configuración Horaria&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/settings/network');?&gt;"&gt;Configuración de Red&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#resetFactory" data-toggle="modal" data-target="#resetFactory"&gt;Factory Reset&lt;/a&gt;&lt;/li&gt;
                      &lt;li class="divider"&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="&lt;?php echo base_url('index.php/admin/users');?&gt;"&gt;Gestionar Usuarios&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
  
              &lt;li class="iconNav"&gt;&lt;a href="&lt;?php echo base_url('index.php/welcome/help');?&gt;"&gt;&lt;span class="glyphicon glyphicon-question-sign"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
  
    &lt;/div&gt;&lt;!-- /.container-fluid --&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>Do you happen to find something wrong with my html code? Thanks!</p>