!= undefined :)

This commit is contained in:
Brandon Aaron 2007-04-24 21:50:49 +00:00
parent 11b64c1149
commit 14aafdf319

View 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;