refac: mobile detection

This commit is contained in:
Timothy J. Baek 2024-05-02 15:44:31 -07:00
parent a2ebbd02ad
commit e0908f9f26

View file

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