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