Skip to content

Commit

Permalink
ie6 filter clearing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed May 5, 2012
1 parent 0bd0c1a commit 434e09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/DomUtil.js
Expand Up @@ -104,7 +104,7 @@ L.DomUtil = {

setOpacity: function (el, value) {
if (L.Browser.ie) {
el.style.filter = value !== 1 ? 'alpha(opacity=' + Math.round(value * 100) + ')' : '';
el.style.filter += value !== 1 ? 'alpha(opacity=' + Math.round(value * 100) + ')' : '';
} else {
el.style.opacity = value;
}
Expand Down

0 comments on commit 434e09f

Please sign in to comment.