aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/event.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/event.js')
-rw-r--r--src/event/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/event.js b/src/event/event.js
index 23dbd6fd4..2d007117a 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -130,7 +130,7 @@ jQuery.event = {
if ( !element ) {
// Only trigger if we've ever bound an event for it
if ( this.global[type] )
- jQuery("*").trigger(type, data);
+ jQuery("*").add([window, document]).trigger(type, data);
// Handle triggering a single element
} else {