fix double line feed problem in textboxes.

This commit is contained in:
Christopher Jeffrey 2014-01-04 16:02:10 -06:00
parent e3baaa9236
commit e4de476c7f
1 changed files with 1 additions and 0 deletions

View File

@ -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';
}