Skip to content

Commit

Permalink
Revert "chore: use .download instead of .hasAttribute('download')"
Browse files Browse the repository at this point in the history
This reverts commit 2ccf57c.
  • Loading branch information
tomcru committed Oct 11, 2024
1 parent 5ea6368 commit c32fc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c32fc78

Please sign in to comment.