mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 21:39:08 +02:00
wrap for domready
This commit is contained in:
4
examples/assets/js/bootstrap-dropdown.js
vendored
4
examples/assets/js/bootstrap-dropdown.js
vendored
@@ -7,7 +7,9 @@
|
||||
$('a.menu').parent('li').removeClass('open')
|
||||
}
|
||||
|
||||
$('body').bind("click", clearMenus)
|
||||
$(function () {
|
||||
$(window).bind("click", clearMenus)
|
||||
})
|
||||
|
||||
$.fn.dropdown = function ( options ) {
|
||||
return this.each(function () {
|
||||
|
Reference in New Issue
Block a user