space-nuko / ComfyBox

Customizable Stable Diffusion frontend for ComfyUI
GNU General Public License v3.0
586 stars 45 forks source link

`vibrateIfPossible`: fixes iOS safari uncaught exceptions & etc #148

Closed haze closed 11 months ago

haze commented 11 months ago

Introduce vibrateIfPossible into the utils package. This will check if the browser has support for vibrating. This fixes a number of bugs for iOS safari & friends.