diff --git a/config.php b/config.php index 9b7b4a9..ace3eeb 100644 --- a/config.php +++ b/config.php @@ -1,7 +1,7 @@ { + if (e.key === 'Enter') { + e.preventDefault(); + e.stopPropagation(); + overlay.querySelector('.collab-btn-submit').click(); + } + }); + setTimeout(() => overlay.querySelector('#__cb_name')?.focus(), 50); }); }