Skip to content

Commit

Permalink
Merge pull request #61 from Neovici/replace-event-path
Browse files Browse the repository at this point in the history
Replace usage of event.path with event.composedPath()
  • Loading branch information
dotpointer authored Oct 24, 2018
2 parents b9c1238 + 8cc08c6 commit 3507861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmoz-data-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 3507861

Please sign in to comment.