diff options
| author | Jacob Thornton <[email protected]> | 2012-06-02 19:02:30 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-06-02 19:02:30 -0700 |
| commit | 354f99f0bd8e1c2dcf9e094245b71e2587bd78c1 (patch) | |
| tree | 0b166275dd14b5fbeb98252564d4c87add4742d0 /docs/assets/js/bootstrap.js | |
| parent | b8a8927b0cd85ab3873bb0e2841a9f77591d5b5f (diff) | |
| download | bootstrap-354f99f0bd8e1c2dcf9e094245b71e2587bd78c1.tar.xz bootstrap-354f99f0bd8e1c2dcf9e094245b71e2587bd78c1.zip | |
add length to parent dropdown check #3316
Diffstat (limited to 'docs/assets/js/bootstrap.js')
| -rw-r--r-- | docs/assets/js/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js index a91be06d2..77a60faa6 100644 --- a/docs/assets/js/bootstrap.js +++ b/docs/assets/js/bootstrap.js @@ -1418,7 +1418,7 @@ .parent('li') .addClass('active') - if (active.parent('.dropdown-menu')) { + if (active.parent('.dropdown-menu').length) { active = active.closest('li.dropdown').addClass('active') } |
