fixed the mobile angular navigation bug

This commit is contained in:
hamza zia 2013-01-24 13:49:56 +05:00
parent dfe6bd509e
commit 8de82139cb

View File

@ -62,15 +62,15 @@
<div class="navbar navbar-inverse navbar-fixed-top" ng-controller="NavCtrl"> <div class="navbar navbar-inverse navbar-fixed-top" ng-controller="NavCtrl">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content --> <!-- using a span for collapse rather than a to fix the angular majic on anchors -->
<a class="btn btn-navbar" <span class="btn btn-navbar"
data-toggle="collapse" data-toggle="collapse"
data-target=".nav-collapse"> data-target=".nav-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</a> </span>
<a class="brand">{{ name }}</a> <a class="brand">{{ name }}</a>