Skip to content

Commit b840174

Browse files
author
superdav42
committed
Add space to separate existing filters from alpha filter
In IE <= 8 it was impossible to setOpacity on an element that already had an existing filter such as filter: FlipH; The filters need to be space seperated
1 parent e3d5200 commit b840174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prototype/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@
29982998
if (value < 0.00001) value = 0;
29992999

30003000
style.filter = stripAlphaFromFilter_IE(filter) +
3001-
'alpha(opacity=' + (value * 100) + ')';
3001+
' alpha(opacity=' + (value * 100) + ')';
30023002

30033003
return element;
30043004
}

0 commit comments

Comments
 (0)