listen to window for dropdown clear
This commit is contained in:
parent
90e3a706ba
commit
314feb702f
2 changed files with 1 additions and 10 deletions
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)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue