forked from open-webui/open-webui
refac: mobile detection
This commit is contained in:
parent
a2ebbd02ad
commit
e0908f9f26
1 changed files with 1 additions and 0 deletions
|
@ -763,6 +763,7 @@
|
|||
bind:value={prompt}
|
||||
on:keypress={(e) => {
|
||||
if (
|
||||
window.innerWidth > 1024 &&
|
||||
!(
|
||||
'ontouchstart' in window ||
|
||||
navigator.maxTouchPoints > 0 ||
|
||||
|
|
Loading…
Reference in a new issue