diff --git a/docs/javascript.html b/docs/javascript.html index ff2f8c0b91dd85dab8e39e93b6bd7c18a6dcd5fd..864e6784b9acd85b535536d64fd12e1925e852ac 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -486,7 +486,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <li><a href="#messages" data-toggle="tab">Messages</a></li> <li><a href="#settings" data-toggle="tab">Settings</a></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#dropdown1" data-toggle="tab">@fat</a></li> <li><a href="#dropdown2" data-toggle="tab">@mdo</a></li> diff --git a/js/bootstrap-tab.js b/js/bootstrap-tab.js index c7632ded25ba58bb9cd6a810b7d3ad2968a5187f..8492fe9558e0589f9f1c23a4b0f3a676a914c7a0 100644 --- a/js/bootstrap-tab.js +++ b/js/bootstrap-tab.js @@ -77,6 +77,8 @@ if (transition) { element[0].offsetWidth // reflow for transition element.addClass('in') + } else { + element.removeClass('fade') } if ( element.parent('.dropdown-menu') ) {