aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.js')
-rw-r--r--src/css.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/css.js b/src/css.js
index 6d67ffaa7..2bffa9610 100644
--- a/src/css.js
+++ b/src/css.js
@@ -185,18 +185,7 @@ jQuery.extend( {
// Add in style property hooks for overriding the default
// behavior of getting and setting a style property
- cssHooks: {
- opacity: {
- get: function( elem, computed ) {
- if ( computed ) {
-
- // We should always get a number back from opacity
- var ret = curCSS( elem, "opacity" );
- return ret === "" ? "1" : ret;
- }
- }
- }
- },
+ cssHooks: {},
// Get and set the style property on a DOM Node
style: function( elem, name, value, extra ) {