aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatricker <[email protected]>2014-01-16 11:41:34 -0700
committerpatricker <[email protected]>2014-01-16 11:41:34 -0700
commit47f786e6ea21462a3653b3134b26f8088f855c82 (patch)
tree36c94162f13056c518120ecbc01fe8280c31d2d7
parent190ae7bb3175375ce095a63b44cc81f90e51105a (diff)
downloadbootstrap-47f786e6ea21462a3653b3134b26f8088f855c82.tar.xz
bootstrap-47f786e6ea21462a3653b3134b26f8088f855c82.zip
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/
-rw-r--r--docs/javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 3eeb2d8f0..2d8c0e7c6 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>