From c0eabdda9fd8e97f44117bd4bd77dd1344039024 Mon Sep 17 00:00:00 2001 From: fat Date: Sat, 17 Aug 2013 16:11:05 -0700 Subject: [PATCH] fixes #9543 --- dist/js/bootstrap.js | 2 +- dist/js/bootstrap.min.js | 2 +- js/dropdown.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index d828616cd0..077126c608 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -711,7 +711,7 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") } 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 $('