From 96fd5f18d49bd3a93586c4b8b6c3cdfc337cd067 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Fri, 1 May 2009 00:36:21 +0000 Subject: [PATCH] special event refactor left over code --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index 4b625a5b..5d701ee4 100644 --- a/src/event.js +++ b/src/event.js @@ -160,7 +160,7 @@ jQuery.event = { break; } if ( !ret ) { - if ( !this.special[ type ] || this.special[ type ].teardown.call( elem, namespaces ) === false ) { + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { if ( elem.removeEventListener ) { elem.removeEventListener( type, jQuery.data( elem, "handle" ), false ); } else if ( elem.detachEvent ) {