mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
add nav class to tabs in javascript demo
This commit is contained in:
parent
b780034a65
commit
0bbb64be4d
@ -479,7 +479,8 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
e.relatedTarget // previous tab
|
||||
})</pre>
|
||||
<h3>Demo</h3>
|
||||
<ul id="tab" class="tabs">
|
||||
|
||||
<ul id="tab" class="nav tabs">
|
||||
<li class="active"><a href="#home" data-toggle="tab">Home</a></li>
|
||||
<li><a href="#profile" data-toggle="tab">Profile</a></li>
|
||||
<li><a href="#messages" data-toggle="tab">Messages</a></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user