Skip to content

Commit

Permalink
don't intercept clicks on download links
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerengels authored and e111077 committed Jan 9, 2018
1 parent 272f384 commit 8ba569f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iron-location.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,11 @@
window.top !== window) {
return null;
}

// If the link is a download, don't intercept.
if (anchor.download) {
return null;
}

var href = anchor.href;

Expand Down

0 comments on commit 8ba569f

Please sign in to comment.