]> source.dussan.org Git - jquery.git/commitdiff
Fixed event.handle to return undefined or false
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 31 Dec 2006 00:44:09 +0000 (00:44 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 31 Dec 2006 00:44:09 +0000 (00:44 +0000)
src/jquery/jquery.js

index 62010e27dce21220b6740e5749d500fd1324ba5e..f945c24a456fd618ead9fe69ef7b0ff0b2796e0e 100644 (file)
@@ -2137,7 +2137,8 @@ jQuery.extend({
 
                        event = jQuery.event.fix( event || window.event || {} ); // Empty object is for triggered events with no data
 
-                       var returnValue = true;
+                       // returned undefined or false
+                       var returnValue;
 
                        var c = this.events[event.type];