diff options
| author | Heinrich Fenkart <[email protected]> | 2014-06-13 14:06:55 +0200 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-06-25 04:18:51 +0200 |
| commit | 634ea59a259c8d3e4dc164528f984758eebd8883 (patch) | |
| tree | 2387c807ea25a49b6f2c599abb797b70e0fcf188 /js | |
| parent | 4abb0957833c7158563244d1770ab9a5e6966150 (diff) | |
| download | bootstrap-634ea59a259c8d3e4dc164528f984758eebd8883.tar.xz bootstrap-634ea59a259c8d3e4dc164528f984758eebd8883.zip | |
Allow tabs to fade in if no initially active pane is present; fixes #13814
Diffstat (limited to 'js')
| -rw-r--r-- | js/tab.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ var $active = container.find('> .active') var transition = callback && $.support.transition - && $active.hasClass('fade') + && (($active.length && $active.hasClass('fade')) || !!container.find('> .fade').length) function next() { $active @@ -79,7 +79,7 @@ callback && callback() } - transition ? + $active.length && transition ? $active .one('bsTransitionEnd', next) .emulateTransitionEnd(150) : |
