diff --git a/src/standard/gestures.html b/src/standard/gestures.html
index 63c9a9cdbb..9d32904b06 100644
--- a/src/standard/gestures.html
+++ b/src/standard/gestures.html
@@ -71,9 +71,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();