فهرست منبع

Merge pull request #1925 from open-webui/dev

refac: mobile detection
Timothy Jaeryang Baek 1 سال پیش
والد
کامیت
dc187d35a1
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 ||