mirror of
https://example.com
synced 2024-11-24 05:56:39 +09:00
Fix client lint
This commit is contained in:
parent
49c4d345f2
commit
033462653c
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ function onDrop(ev: DragEvent): void {
|
|||
function onKeydown(ev: KeyboardEvent) {
|
||||
typing();
|
||||
if ((ev.key === 'Enter') && (ev.ctrlKey || ev.metaKey)) {
|
||||
textEl.value += '\n'
|
||||
textEl.value += '\n';
|
||||
}
|
||||
else if (ev.key === 'Enter' && !ev.shiftKey && canSend) {
|
||||
send();
|
||||
|
|
Loading…
Reference in a new issue