1
0
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:
Jacob Thornton
2011-08-28 16:47:38 -07:00
parent a0cb72f9ae
commit f1d17223b8
4 changed files with 71 additions and 71 deletions

View File

@@ -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 () {