diff options
| author | fat <[email protected]> | 2013-08-17 16:11:05 -0700 |
|---|---|---|
| committer | fat <[email protected]> | 2013-08-17 16:11:05 -0700 |
| commit | c0eabdda9fd8e97f44117bd4bd77dd1344039024 (patch) | |
| tree | 2567ddbd7cbab29365d336c80c860cee3d1525a2 /js | |
| parent | d754e6564d8fd8fe1447ba6674eb9e041a6190b2 (diff) | |
| download | bootstrap-c0eabdda9fd8e97f44117bd4bd77dd1344039024.tar.xz bootstrap-c0eabdda9fd8e97f44117bd4bd77dd1344039024.zip | |
fixes #9543
Diffstat (limited to 'js')
| -rw-r--r-- | js/dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dropdown.js b/js/dropdown.js index 69bbd802c..dc9716e2a 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -40,7 +40,7 @@ clearMenus() if (!isActive) { - if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { // if mobile we we use a backdrop because click events don't delegate $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus) } |
