Fixed #2076 where .val() could return an array instead of undefined when the jquery...
[jquery.git] / src / core.js
index 4decf3e..ad938f2 100644 (file)
@@ -419,6 +419,7 @@ jQuery.fn = jQuery.prototype = {
 
                        }
 
+                       return undefined;
                }
 
                return this.each(function(){