fix IE detection for IE9

This commit is contained in:
Fabian Jakobs 2011-08-18 17:28:32 +02:00
commit 41c625aca8
3 changed files with 3 additions and 3 deletions

View file

@ -183,7 +183,7 @@ var TextInput = function(parentNode, host) {
}
});
if (useragent.isIE) {
if ("onbeforecopy" in text) {
event.addListener(text, "beforecopy", function(e) {
var copyText = host.getCopyText();
if(copyText)