Merge pull request #11521 from valera-rozuvan/patch-1

Update dropdown.js
This commit is contained in:
Chris Rebert 2013-11-18 01:57:56 -08:00
commit ee1c53dca0
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
if (!isActive) { if (!isActive) {
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
// if mobile we we use a backdrop because click events don't delegate // if mobile we use a backdrop because click events don't delegate
$('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus) $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
} }