소스 검색

refac: mobile detection

Timothy J. Baek 1 년 전
부모
커밋
e0908f9f26
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/lib/components/chat/MessageInput.svelte

+ 1 - 0
src/lib/components/chat/MessageInput.svelte

@@ -763,6 +763,7 @@
 								bind:value={prompt}
 								on:keypress={(e) => {
 									if (
+										window.innerWidth > 1024 &&
 										!(
 											'ontouchstart' in window ||
 											navigator.maxTouchPoints > 0 ||