Fix mistype and opera copy/cut selectAll triggering

This commit is contained in:
DanyaPostfactum 2012-10-21 03:40:07 +11:00 committed by nightwing
commit 38ef17528b

View file

@ -175,9 +175,9 @@ var TextInput = function(parentNode, host) {
}
if (!supported) {
cut = true;
text.value = data;
text.select();
cut = true;
setTimeout(function(){ host.onCut() });
}
};
@ -200,9 +200,9 @@ var TextInput = function(parentNode, host) {
}
}
if (!supported) {
copied = true;
text.value = data;
text.select();
copided = true;
setTimeout(function(){ host.onCopy() });
}