1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 11:51:23 +02:00

change window to 'body'

This commit is contained in:
Jacob Thornton
2011-08-28 16:36:44 -07:00
parent 1a5f8205ff
commit a0cb72f9ae
5 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
$('a.menu').parent('li').removeClass('open')
}
$(window).bind("click", clearMenus)
$('body').bind("click", clearMenus)
$.fn.dropdown = function ( options ) {
return this.each(function () {

View File

@@ -14,7 +14,7 @@
/* SHARED VARS
* =========== */
var $window = $(window)
var $window = $('body')
, transitionEnd
// set CSS transition event type