Here is my navbar code
<div class="navbar navbar-fixed-top ">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar" style="background-color:red;"></span>
<span class="icon-bar" style="background-color:red;"></span>
<span class="icon-bar" style="background-color:red;"></span>
</button>
<a href="#"class="navbar-brand"><img src='img/logo2.png' class="img-responsive"></a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right spy">
<li ><a class="fade" href="#section-1">HOME</a></li>
<li ><a class="fade" href="#section-2">SHOWREEL</a></li>
<li ><a class="fade" href="#section-3">FILMS</a></li>
<li ><a class="fade" href="#section-4">PROFILE</a></li>
<li ><a class="fade" href="#section-5">CONTACT</a></li>
</ul>
</div>
</div>
</div>
Let my clarify that spy is the class name i use for my scrollSpy js script. Here are the .js files i include at the end of the body:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
<script src="js/jquery.scrollTo.js" type="text/javascript">/script>
<script src="js/jquery.nav.js" type="text/javascript"></script>
Here are the .css files i include:
<link rel="stylesheet" href="http://getbootstrap.com/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/font.css" />
As said in the title,when in small media devices the toggle button works only the first time,after that it doesnt respond