mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Run collectstatic. Fix input autofocus in webclient
This commit is contained in:
parent
9553acecb2
commit
70c5e9608e
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ let defaultin_plugin = (function () {
|
|||
//
|
||||
// handle the default <enter> key triggering onSend()
|
||||
var onKeydown = function (event) {
|
||||
$("#inputfield").focus();
|
||||
if ( (event.which === 13) && (!event.shiftKey) ) { // Enter Key without shift
|
||||
var inputfield = $("#inputfield");
|
||||
var outtext = inputfield.val();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue