Skip to content

Commit 225f073

Browse files
author
Clauderic Demers
committed
Remove TouchEvent instanceof check
1 parent 7417208 commit 225f073

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export function getPosition(event) {
104104

105105
export function isTouchEvent(event) {
106106
return (
107-
event instanceof window.TouchEvent ||
108107
event.touches && event.touches.length ||
109108
event.changedTouches && event.changedTouches.length
110109
);

0 commit comments

Comments
 (0)