title: collapse button : working offline with bootstrap 3
body: <p>i have a problem with bootstrap 3.
  I wanted to make a responsive navbar, but when i make the page smaller, and the button is shown, unfortunatly it doesn't react to the click event, though  i added the bootstrap.js and jquery.js</p>
  
  <p>Here is the code </p>
  
  <pre><code>&lt;div class="navbar navbar-default navbar-fixed-top" role="navigation" th:fragment="gennav"&gt;
      &lt;div class="container"&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="/servicemed/" th:href="@{/}"&gt;&lt;b&gt;Service Medicale&lt;/b&gt;&lt;/a&gt;
          &lt;/div&gt;
          &lt;div class="collapse navbar-collapse "&gt;
              &lt;ul class="nav navbar-nav"&gt;
                  &lt;li&gt;&lt;a href="/servicemed/" th:href="@{/}"&gt;&lt;span class="fa fa-home"&gt;&lt;/span&gt; Home&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="/servicemed/" th:href="@{/}"&gt;&lt;span class="fa fa-rocket"&gt;&lt;/span&gt; Not&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;ul class="nav navbar-nav navbar-right"&gt;
                  &lt;li class="divider"&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="/servicemed/" th:href="@{/}"&gt;&lt;span class="fa fa-sign-in"&gt;&lt;/span&gt; Login&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>any idea why it's not working? do i need another js file to make it happen ?</p>
  
  <p>PS : do not mind the "th:*" tags, i'm using thymeleaf </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The code above work normally when i include the jquery.min.js and bootstrap.min.js files with links (internet needed) but when i download them and try to add them locally (offline), the button doesn't work , any ideas why ?</p>