mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 08:50:22 +00:00
fixes #8232
This commit is contained in:
parent
faa00629c4
commit
72d2661ff0
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
|||
if (!isActive) {
|
||||
if ('ontouchstart' in document.documentElement) {
|
||||
// if mobile we we use a backdrop because click events don't delegate
|
||||
$('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
|
||||
$('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
|
||||
}
|
||||
|
||||
$parent.trigger(e = $.Event('show.bs.dropdown'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue