react-dnd-touch-backend
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -530,3 +530,3 @@ /** | ||
if (!elementsAtPointExtended.includes(currentNode)) { | ||
if (elementsAtPointExtended.indexOf(currentNode) === -1) { | ||
elementsAtPointExtended.push(currentNode); | ||
@@ -533,0 +533,0 @@ } |
{ | ||
"name": "react-dnd-touch-backend", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Touch backend for react-dnd", | ||
@@ -5,0 +5,0 @@ "main": "dist/Touch.js", |
@@ -467,3 +467,3 @@ /** | ||
currentNode = currentNode.parentElement; | ||
if ( !elementsAtPointExtended.includes(currentNode) ) {elementsAtPointExtended.push(currentNode)} | ||
if ( elementsAtPointExtended.indexOf(currentNode) === -1 ) {elementsAtPointExtended.push(currentNode)} | ||
} | ||
@@ -470,0 +470,0 @@ } |
199422