Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tw93/Pake
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Jul 27, 2024
2 parents 64242e2 + 25eb63c commit 8f97c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/inject/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ document.addEventListener('DOMContentLoaded', () => {
// case: download from dataURL -> convert dataURL ->
} else if (url.startsWith('data:')) {
downloadFromDataUri(url, filename);
} else if (isDownloadLink(url) || anchorEle.hostname !== window.location.host) {
} else if (isDownloadLink(url) || anchorEle.host !== window.location.host) {
handleExternalLink(e, url);
}
},
Expand Down

0 comments on commit 8f97c0a

Please sign in to comment.