Closed bencergazda closed 5 years ago
This commit prevents browser errors like Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. by putting e.preventDefault() in an if (e.cancelable) statement.
Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
e.preventDefault()
if (e.cancelable)
This commit prevents browser errors like
Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
by puttinge.preventDefault()
in anif (e.cancelable)
statement.