0
0
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:
Jacob Thornton 2012-01-08 02:04:23 -08:00
parent b780034a65
commit 0bbb64be4d

View File

@ -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>