diff --git a/src/index.tsx b/src/index.tsx index cb6c6eb..8d23653 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -195,7 +195,7 @@ const HolyLoader = ({ if ( anchor === null || anchor.target === '_blank' || - anchor.download || + anchor.hasAttribute('download') || event.ctrlKey || event.metaKey || // Skip if URL points to a different domain