mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 23:45:12 -05:00
Fixes a bug I introduced
This commit is contained in:
@@ -53,7 +53,7 @@ jQuery.extend({
|
||||
|
||||
// Set the alpha filter to set the opacity
|
||||
var opacity = parseInt( value, 10 ) + '' === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")";
|
||||
filter = style.filter || jQuery.curCSS( elem, 'filter' ) || ""
|
||||
var filter = style.filter || jQuery.curCSS( elem, 'filter' ) || "";
|
||||
style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user