1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 00:54:04 +02:00

Allow to use nav with tab JS

This commit is contained in:
Johann-S
2016-12-28 11:58:50 +01:00
committed by Mark Otto
parent d935cca9f6
commit 026e1a1421
3 changed files with 50 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ const Tab = (($) => {
A : 'a',
LI : 'li',
DROPDOWN : '.dropdown',
LIST : 'ul:not(.dropdown-menu), ol:not(.dropdown-menu)',
LIST : 'ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)',
FADE_CHILD : '> .nav-item .fade, > .fade',
ACTIVE : '.active',
ACTIVE_CHILD : '> .nav-item > .active, > .active',