title: Bootstrap toggle menu on one page site does not uncollapse when clicked
body: <p>I'm using bootstrap, and it is a one page site. And when I need to use the toggle for mobile devices. The collapse works, but I need to uncollapse when I click on one of the menu liks. </p>
  
  <p>Just need that to deliver the project.</p>
  
  <p>Any thoughts?</p>
  
  <p><a href="http://www.neevasoft.com/docasnovo" rel="nofollow">http://www.neevasoft.com/docasnovo</a></p>
  
  <p>html</p>
  
  <pre><code>&lt;header id="header" class="navbar-fixed-top main-nav" role="banner"&gt;
      &lt;div class="container"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-12"&gt;
  
                  &lt;!-- Logo start --&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&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;a class="navbar-brand" href="#home"&gt;
                          &lt;img class="img-responsive"  src="images\logo.png" alt="logo"&gt;
                      &lt;/a&gt;   
  
                  &lt;/div&gt;&lt;!--/ Logo end --&gt;
  
                  &lt;nav class="collapse navbar-collapse clearfix" &gt;
                      &lt;ul class="nav navbar-nav navbar-right"&gt;
  
                          &lt;li&gt;&lt;a class="page-scroll" href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="#services"&gt;A Empresa&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="#historia"&gt;História&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="#about"&gt;Participações&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="#team"&gt;Renovada&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="#contact"&gt;Contato&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a class="page-scroll" href="acervo.html" onClick="window.location='acervo.html'"&gt;Acervo&lt;/a&gt;&lt;/li&gt;
                          &lt;!--li&gt;&lt;a class="page-scroll" href="#contact"&gt;Contact&lt;/a&gt;&lt;/li--&gt;
  
                      &lt;/ul&gt;
  
                  &lt;/nav&gt;&lt;!--/ Navigation end --&gt;
  
              &lt;/div&gt;&lt;!--/ Col end --&gt;
          &lt;/div&gt;&lt;!--/ Row end --&gt;
      &lt;/div&gt;&lt;!--/ Container end --&gt;
  &lt;/header&gt;&lt;!--/ Header end --&gt;
  </code></pre>