From 8cc08c639c07b679c86743b7b1dc8aa2657365c7 Mon Sep 17 00:00:00 2001 From: Robert Klebe Date: Fri, 19 Oct 2018 13:07:27 +0200 Subject: [PATCH] Replace usage of event.path with event.composedPath(). --- cosmoz-data-nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmoz-data-nav.js b/cosmoz-data-nav.js index 1e7a779..d3c504a 100644 --- a/cosmoz-data-nav.js +++ b/cosmoz-data-nav.js @@ -683,7 +683,7 @@ if (this.animating) { return; } - const path = Polymer.dom(event).path, + const path = event.composedPath(), attr = this.selectAttribute, selectEl = path.find(e => e && e.hasAttribute && e.hasAttribute(attr));