]> source.dussan.org Git - jquery.git/commitdiff
Fix generic event handler and $events expando removal for IE
authorBrandon Aaron <brandon.aaron@gmail.com>
Mon, 5 Mar 2007 17:42:12 +0000 (17:42 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Mon, 5 Mar 2007 17:42:12 +0000 (17:42 +0000)
src/event/event.js

index 8aedabbc63c7c4dbcb7b371fe737896665dbd2c4..e0d4b908eed7cc9ab50b2058940d9fcfa45be13c 100644 (file)
@@ -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];
                                }
                        }