From 8ba569fe98f99740fc2db6309f9f7e8c08c5dda1 Mon Sep 17 00:00:00 2001 From: Holger Date: Sat, 2 Dec 2017 16:44:18 +0100 Subject: [PATCH] don't intercept clicks on download links --- iron-location.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iron-location.html b/iron-location.html index a17c709..d5fa2ef 100644 --- a/iron-location.html +++ b/iron-location.html @@ -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;