Fixed a bug in the jQuery.prop() addition and fixed the test cases to represent the...
[jquery.git] / src / jquery / jquery.js
index 50549bb..4f1306a 100644 (file)
@@ -1235,7 +1235,7 @@ jQuery.extend({
        prop: function(elem, key, value){
                // Handle executable functions
                return value.constructor == Function &&
-                       value.call( elem, val ) || value;
+                       value.call( elem ) || value;
        },
 
        className: {