aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/assets/js/bootstrap-dropdown.js2
-rw-r--r--examples/assets/js/bootstrap-modal.js2
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