Commit 0bbb64be authored by Jacob Thornton's avatar Jacob Thornton
Browse files

add nav class to tabs in javascript demo

parent b780034a
16 merge requests!14752.0 wip,!1403warningText and warningBackground docs fix,!985Fix id anchor javascript,!13512.0 wip - relative font sizes,!1315[2.0-wip] Fix mustache glob when building,!1268[wip-2.0] IE 7/8 Typehead JS fix,!12362.0 wip - Fix for issue #1202,!1219Removed dotted outline on navbar dropdown menu,!1210Missing icon class from examples,!1195Fixed display of secondary container,!1090Fixed typo,!1084Default `.border-radius-custom` values,!1064Typo Fix in tables.less,!10572.0 wip,!1052Missing data attribute to close modal,!10212.0 wip
Showing with 2 additions and 1 deletion
+2 -1
...@@ -479,7 +479,8 @@ $('a[data-toggle="tab"]').on('shown', function (e) { ...@@ -479,7 +479,8 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
e.relatedTarget // previous tab e.relatedTarget // previous tab
})</pre> })</pre>
<h3>Demo</h3> <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 class="active"><a href="#home" data-toggle="tab">Home</a></li>
<li><a href="#profile" data-toggle="tab">Profile</a></li> <li><a href="#profile" data-toggle="tab">Profile</a></li>
<li><a href="#messages" data-toggle="tab">Messages</a></li> <li><a href="#messages" data-toggle="tab">Messages</a></li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment