Skip to content

Commit de0bead

Browse files
Merge pull request prototypejs#108 from jwestbrook/issue-3701-fix
Be more liberal in what we accept as an opacity value in old IE.
2 parents 9787436 + 0d718c5 commit de0bead

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
@@ -3062,7 +3062,7 @@
30623062

30633063
var filter = Element.getStyle(element, 'filter');
30643064
if (filter.length === 0) return 1.0;
3065-
var match = (filter || '').match(/alpha\(opacity=(.*)\)/);
3065+
var match = (filter || '').match(/alpha\(opacity=(.*)\)/i);
30663066
if (match && match[1]) return parseFloat(match[1]) / 100;
30673067
return 1.0;
30683068
}

0 commit comments

Comments
 (0)