diff options
author | John Resig <jeresig@gmail.com> | 2010-10-12 20:56:46 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-10-12 20:56:46 -0400 |
commit | 783bb2a85fe33d00e82f40c8dab484e1cf0c63a1 (patch) | |
tree | 0cc4642cb4eb19951616cd5202ca8abc45b49919 /src | |
parent | 9ced9f288ca53594a56487ccdd45bae1f5ec80e0 (diff) | |
download | jquery-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.js | 2 |
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 ); |