aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 8aedabbc6..e0d4b908e 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -82,7 +82,7 @@ jQuery.event = {
for ( ret in events[type] ) break;
if ( !ret ) {
ret = element["on" + type] = null;
- delete element.$events[type];
+ delete events[type];
}
}