Merge pull request #1926 from open-webui/dev

fix
This commit is contained in:
Timothy Jaeryang Baek 2024-05-02 15:48:49 -07:00 committed by GitHub
commit fc86b20350
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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