2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

listen to window for dropdown clear

This commit is contained in:
Jacob Thornton
2012-01-05 18:32:08 -08:00
parent 90e3a706ba
commit 314feb702f
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -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)
})