diff options
Diffstat (limited to 'js/dropdown.js')
| -rw-r--r-- | js/dropdown.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/dropdown.js b/js/dropdown.js index 2bb789a79..8aee574fa 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -92,7 +92,7 @@ function clearMenus() { $(backdrop).remove() - $(toggle).each(function (e) { + $(toggle).each(function (e) { var $parent = getParent($(this)) if (!$parent.hasClass('open')) return $parent.trigger(e = $.Event('hide.bs.dropdown')) @@ -145,7 +145,6 @@ // APPLY TO STANDARD DROPDOWN ELEMENTS // =================================== - $(document) .on('click.bs.dropdown.data-api', clearMenus) .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) |
