Supported for tablet pen
Opened this issue · 0 comments
DimasCooleR commented
I have a tablet pen. Your gallery don't work with them.
I change line:
if ( !("ontouchstart" in window) ){
to:
if(!( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) )) {
I hope this helps someone