fix double line feed problem in textboxes.
This commit is contained in:
parent
e3baaa9236
commit
e4de476c7f
|
@ -4639,6 +4639,7 @@ Textarea.prototype._listener = function(ch, key) {
|
|||
var done = this._done
|
||||
, value = this.value;
|
||||
|
||||
if (key.name === 'return') return;
|
||||
if (key.name === 'enter') {
|
||||
ch = '\n';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue