Skip to content

Commit

Permalink
Fix ariatemplates#377 Preload images not working for IE10.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonarbuckle committed Feb 14, 2013
1 parent 5c0f0d3 commit 9b9d902
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/aria/widgets/AriaSkinInterface.js
Expand Up @@ -223,7 +223,9 @@ Aria.classDefinition({
var document = Aria.$window.document;
var element = document.createElement('div');
document.body.appendChild(element);
element.style.display = 'none';
element.style.position = "absolute";
element.style.left = "-1000000px";
element.style.top = "-1000000px";
element.innerHTML = markup.join('');
return element;
},
Expand Down Expand Up @@ -269,4 +271,4 @@ Aria.classDefinition({
return rule.join("");
}
}
});
});

0 comments on commit 9b9d902

Please sign in to comment.