Fix mistype and opera copy/cut selectAll triggering
This commit is contained in:
parent
473ddfd353
commit
38ef17528b
1 changed files with 2 additions and 2 deletions
|
|
@ -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() });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue