X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=38caaf0aed9a8297981c0f191b10b763f580f4ec;hb=339789a931fbb01870b1ecd522e35bd439149292;hp=3522f8c6b0fa269e8771c34d05d2b30dcc354d64;hpb=fb0dfd987c72906a9b499a4c5fd84807bff11678;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 3522f8c..38caaf0 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1280,7 +1280,7 @@ jQuery.extend({ prop: function(elem, value, type, index, prop){ // Handle executable functions if ( jQuery.isFunction( value ) ) - return value.call( elem, [index] ); + value = value.call( elem, [index] ); // exclude the following css properties to add px var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i;