From: fat Date: Sat, 17 Aug 2013 23:11:05 +0000 (-0700) Subject: fixes #9543 X-Git-Tag: v3.0.0~75^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0eabdda9fd8e97f44117bd4bd77dd1344039024;p=thirdparty%2Fbootstrap.git fixes #9543 --- 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 $('