mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
giant refactor - all spec passing again...
This commit is contained in:
6
js/bootstrap-dropdown.js
vendored
6
js/bootstrap-dropdown.js
vendored
@@ -68,8 +68,8 @@
|
||||
* =================================== */
|
||||
|
||||
$(function () {
|
||||
$('html').bind('click.dropdown.data-api', clearMenus)
|
||||
$('body').delegate(toggle, 'click.dropdown.data-api', Dropdown.prototype.toggle)
|
||||
$('html').on('click.dropdown.data-api', clearMenus)
|
||||
$('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
||||
})
|
||||
|
||||
}( window.jQuery || window.ender )
|
||||
}( window.jQuery )
|
Reference in New Issue
Block a user