Merge pull request #1925 from open-webui/dev

refac: mobile detection
This commit is contained in:
Timothy Jaeryang Baek 2024-05-02 15:44:54 -07:00 committed by GitHub
commit dc187d35a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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