]> source.dussan.org Git - jquery.git/commitdiff
!= undefined :)
authorBrandon Aaron <brandon.aaron@gmail.com>
Tue, 24 Apr 2007 21:50:49 +0000 (21:50 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Tue, 24 Apr 2007 21:50:49 +0000 (21:50 +0000)
src/event/event.js

index 2d9c53056e9765ae49fc4000a87535796f8419ee..9b5feb1526c1bbf23306c0eb39de041fb152c17b 100644 (file)
@@ -14,7 +14,7 @@ jQuery.event = {
                        element = window;
                
                // if data is passed, bind to handler 
-               if( data != handler ) { 
+               if( data != undefined ) { 
                // Create temporary function pointer to original handler 
                        var fn = handler;