mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 16:44:08 +02:00
Added a check to ensure we aren't counting alt, tab, etc...
This commit is contained in:
parent
7bef0bcf22
commit
c40479f091
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ let is_typing = (function (){
|
|||
// A 'say' command is being used.
|
||||
if (Evennia.isConnected() &&
|
||||
inputfield.length === 1 &&
|
||||
event.key.length === 1 &&
|
||||
inputfield.val().match(regex)) {
|
||||
// Enter. Message sent. Reset.
|
||||
if (event.which === 13) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue