Prechádzať zdrojové kódy

Merge pull request #1925 from open-webui/dev

refac: mobile detection
Timothy Jaeryang Baek 1 rok pred
rodič
commit
dc187d35a1

+ 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 ||