mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 03:41:19 +02:00
listen to window for dropdown clear
This commit is contained in:
2
js/bootstrap-dropdown.js
vendored
2
js/bootstrap-dropdown.js
vendored
@@ -74,7 +74,7 @@
|
||||
* =================================== */
|
||||
|
||||
$(function () {
|
||||
$('html').on('click.dropdown.data-api', clearMenus)
|
||||
$(window).on('click.dropdown.data-api', clearMenus)
|
||||
$('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user