Fix client lint

This commit is contained in:
ThatOneCalculator 2022-07-06 18:14:05 -07:00
parent d8a7e14294
commit bf1e0bb0c6

View File

@ -126,7 +126,7 @@ function onDrop(ev: DragEvent): void {
function onKeydown(ev: KeyboardEvent) { function onKeydown(ev: KeyboardEvent) {
typing(); typing();
if ((ev.key === 'Enter') && (ev.ctrlKey || ev.metaKey)) { if ((ev.key === 'Enter') && (ev.ctrlKey || ev.metaKey)) {
textEl.value += '\n' textEl.value += '\n';
} }
else if (ev.key === 'Enter' && !ev.shiftKey && canSend) { else if (ev.key === 'Enter' && !ev.shiftKey && canSend) {
send(); send();