aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-10-12 20:56:46 -0400
committerJohn Resig <jeresig@gmail.com>2010-10-12 20:56:46 -0400
commit783bb2a85fe33d00e82f40c8dab484e1cf0c63a1 (patch)
tree0cc4642cb4eb19951616cd5202ca8abc45b49919 /src
parent9ced9f288ca53594a56487ccdd45bae1f5ec80e0 (diff)
downloadjquery-783bb2a85fe33d00e82f40c8dab484e1cf0c63a1.tar.gz
jquery-783bb2a85fe33d00e82f40c8dab484e1cf0c63a1.zip
Fix some gaps in the handling of event data properties. Thanks to @jitter in ff6ceadbfd470463e63708413eb5a55bd7e90c69 for the catches.
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 1bbf1348d..8a40d0020 100644
--- a/src/event.js
+++ b/src/event.js
@@ -286,7 +286,7 @@ jQuery.event = {
delete elemData.handle;
if ( typeof elemData === "function" ) {
- jQuery.removeData( elem, "events" );
+ jQuery.removeData( elem, eventKey );
} else if ( jQuery.isEmptyObject( elemData ) ) {
jQuery.removeData( elem );