Reputation: 3969
When using AngularJS and bootstrap javascript tabs, I ran into an issue of where angularjs route would pickup href clicks. In a result, instead of showing a tab, route redirects to location of where tab button is lining to. In short, bootstrap javascript tab is not suppressing default action for tab clicks.
Upvotes: 1
Views: 1043
Reputation: 89
Just add `target="_self"
See example:
<a href="#tab01" target="_self" >
<div class="tab-pane fade in active" id="tab01">show tab1</div>
Upvotes: 4