Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
MonireRasouli committed Nov 22, 2024
1 parent d36cd4a commit 256d83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/downloadBlob.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const downloadBlob = (
const a = document.createElement('a');
a.href = url;
a.download = downloadName;
a.dispatchEvent(new MouseEvent('click', { bubbles: true }));
a.click();
URL.revokeObjectURL(url);
};
};
Expand Down

0 comments on commit 256d83c

Please sign in to comment.