Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Little fix for a IE transparency/click bug #8

Merged
merged 1 commit into from Aug 8, 2011
Jump to file or symbol
Failed to load files and symbols.
+3 −1
Split
View
@@ -547,6 +547,7 @@
if (property.toUpperCase() === 'BACKGROUND-COLOR' && value.indexOf('rgba') === 0) {
value = ac2ah(value);
return {
+ 'background' : "url(#)",
'filter' : "progid:DXImageTransform.Microsoft.gradient(startColorStr='" + value + "',EndColorStr='" + value + "')"
};
}
@@ -555,6 +556,7 @@
var da = value.replace(/^linear-gradient\s?\(\s?(.*?)\s?\)$/, '$1').split(/,\s?/);
if (da.length == 2) {
return {
+ 'background' : "url(#)",
'filter' : "progid:DXImageTransform.Microsoft.gradient(startColorStr='" + da[0] + "',EndColorStr='" + da[1] + "')"
};
}
@@ -710,4 +712,4 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
return { matches: bool, media: q };
};
-})(document);
+})(document);