mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 07:28:56 +00:00
enter & newline fix
This commit is contained in:
parent
b297250edd
commit
d5b6693a26
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ KeyCodes.isDelete = function(code) {
|
|||
return (code == 46);
|
||||
}
|
||||
KeyCodes.isEnter = function(code) {
|
||||
return (code == 13);
|
||||
return (code == 13) || (code == 10);
|
||||
}
|
||||
KeyCodes.isEscape = function(code) {
|
||||
return (code == 27);
|
||||
|
|
Loading…
Reference in a new issue