Commit da70ca6b authored by Oskari's avatar Oskari Committed by Dave Methvin

Use multiply rather than divide for speed.

parent 077fd7ed
......@@ -320,7 +320,7 @@ if ( !jQuery.support.opacity ) {
get: function( elem, computed ) {
// IE uses filters for opacity
return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
( parseFloat( RegExp.$1 ) / 100 ) + "" :
( 0.01 * parseFloat( RegExp.$1 ) ) + "" :
computed ? "1" : "";
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment