mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
change window to 'body'
This commit is contained in:
+1
-1
@@ -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 () {
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
/* SHARED VARS
|
||||
* =========== */
|
||||
|
||||
var $window = $(window)
|
||||
var $window = $('body')
|
||||
, transitionEnd
|
||||
|
||||
// set CSS transition event type
|
||||
|
||||
Reference in New Issue
Block a user