Fixed #1438 where a filter could be set in IE but not have opacity in it. The JS error was fixed by checking to make sure 'opacity=' is in the filter before seeing what its value is.
This commit is contained in:
parent
4d13f3701c
commit
d938c6bbd6
2 changed files with 7 additions and 2 deletions
|
@ -1064,7 +1064,7 @@ jQuery.extend({
|
|||
(parseFloat( value ).toString() == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
|
||||
}
|
||||
|
||||
return elem.filter ?
|
||||
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
|
||||
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() :
|
||||
"";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue