The curCSS function only need 2 arguments #647

Closed
wants to merge 1 commit into
from
View
2 src/css.js
@@ -35,7 +35,7 @@ jQuery.extend({
get: function( elem, computed ) {
if ( computed ) {
// We should always get a number back from opacity
- var ret = curCSS( elem, "opacity", "opacity" );
+ var ret = curCSS( elem, "opacity" );
return ret === "" ? "1" : ret;
} else {