diff options
| author | Jacob Thornton <[email protected]> | 2011-08-28 16:36:44 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-08-28 16:36:44 -0700 |
| commit | a0cb72f9ae27ded4cf3516e0d3edd042293d9e39 (patch) | |
| tree | 97b5dec13ce7048d2ac0eccb7dd962ad08597333 /examples | |
| parent | 1a5f8205ff2f87c8f6277afa0a6616599390b7b1 (diff) | |
| download | bootstrap-a0cb72f9ae27ded4cf3516e0d3edd042293d9e39.tar.xz bootstrap-a0cb72f9ae27ded4cf3516e0d3edd042293d9e39.zip | |
change window to 'body'
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/assets/js/bootstrap-dropdown.js | 2 | ||||
| -rw-r--r-- | examples/assets/js/bootstrap-modal.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/assets/js/bootstrap-dropdown.js b/examples/assets/js/bootstrap-dropdown.js index fd5bd7978..b319c818c 100644 --- a/examples/assets/js/bootstrap-dropdown.js +++ b/examples/assets/js/bootstrap-dropdown.js @@ -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 () { diff --git a/examples/assets/js/bootstrap-modal.js b/examples/assets/js/bootstrap-modal.js index 8e782a37e..d03651faf 100644 --- a/examples/assets/js/bootstrap-modal.js +++ b/examples/assets/js/bootstrap-modal.js @@ -14,7 +14,7 @@ /* SHARED VARS * =========== */ - var $window = $(window) + var $window = $('body') , transitionEnd // set CSS transition event type |
