diff options
author | patricker <patricker@gmail.com> | 2014-01-16 22:41:34 +0400 |
---|---|---|
committer | patricker <patricker@gmail.com> | 2014-01-16 22:41:34 +0400 |
commit | 47f786e6ea21462a3653b3134b26f8088f855c82 (patch) | |
tree | 36c94162f13056c518120ecbc01fe8280c31d2d7 /docs/javascript.html | |
parent | 190ae7bb3175375ce095a63b44cc81f90e51105a (diff) |
Update javascript.html
Fixed issue in Tabs example where the div had been marked as 'active' but the li had not been. The correct tab of data would be displayed on load, but no tabs would be highlighted. The tabs with fade example does not have this issue. jsFiddle: http://jsfiddle.net/uXV56/
Diffstat (limited to 'docs/javascript.html')
-rw-r--r-- | docs/javascript.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 3eeb2d8f03..2d8c0e7c61 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -793,7 +793,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% highlight html %} <!-- Nav tabs --> <ul class="nav nav-tabs"> - <li><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="#messages" data-toggle="tab">Messages</a></li> <li><a href="#settings" data-toggle="tab">Settings</a></li> |