diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index d828616cd..077126c60 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 $('