diff --git a/src/standard/gestures.html b/src/standard/gestures.html index 8fbcbd69d0..6081c08da5 100644 --- a/src/standard/gestures.html +++ b/src/standard/gestures.html @@ -89,9 +89,11 @@ // disable "ghost clicks" if (mouseEvent.type === 'click') { var path = Polymer.dom(mouseEvent).path; - for (var i = 0; i < path.length; i++) { - if (path[i] === POINTERSTATE.mouse.target) { - return; + if (path) { + for (var i = 0; i < path.length; i++) { + if (path[i] === POINTERSTATE.mouse.target) { + return; + } } } mouseEvent.preventDefault();