better IE9 handling

This commit is contained in:
Fabian Jakobs 2011-08-18 17:36:55 +02:00
commit 5af05772eb
4 changed files with 5 additions and 4 deletions

View file

@ -250,7 +250,7 @@ window.__ace_shadowed__.transformTextarea = function(element) {
overflow: "auto",
fontSize: "14px"
};
if (!UA.isIE || UA.isIE >= 9) {
if (!UA.isOldIE) {
settingDivStyles.backgroundColor = "rgba(0, 0, 0, 0.6)";
} else {
settingDivStyles.backgroundColor = "#333";