ten1seven / what-input

A global utility for tracking the current input method (mouse/pointer, keyboard or touch).
https://ten1seven.github.io/what-input
MIT License
1.35k stars 89 forks source link

Catch errors for sessionStorage #83

Closed yuheiy closed 5 years ago

yuheiy commented 5 years ago

If browsers do not allow cookies, errors will occur when referencing the sessionStorage. We should catch the exceptions.

ten1seven commented 5 years ago

This is great, thank you! I'll get this deployed later today.

ten1seven commented 5 years ago

Looks good!